"DayNameShort" // Chinese, Japanese
- To: mathgroup at smc.vnet.net
- Subject: [mg100867] "DayNameShort" // Chinese, Japanese
- From: "Scot Martin" <smartin at seas.harvard.edu>
- Date: Tue, 16 Jun 2009 21:54:15 -0400 (EDT)
- Organization: Harvard University
- Reply-to: <scot_martin at harvard.edu>
An interesting problem has come up. I'm working with some students, one from Japan and one from Hong Kong, teaching them a few things about Mathematica. Their computers are basically in English, as far as I can tell, and I am using their Mathematica just fine in English. But there must be some deeper installation issues tied, perhaps, to Windows or so forth, as detailed below. I tried to use AbsoluteTime[{.,{..}}], and the specifications "DayNameShort" and "MonthNameShort" do not work on an entry like "Sun 17 Jun". If, however, the students type "Sun" in Japanese or Chinese pictographs on their respective machines, then the function works (i.e., literally, the pictographs of those languages are written in the string in place of Sun and Jun). Our goal is to read data files that have stamps like "Sun 17 Jun" in English so we need "MonthNameShort" to work. Bottom line question: how do we inform Mathematica to use "DayNameShort" and "MonthNameShort" in English rather than Japanese or Chinese? [I checked the student computers. >Edit>Preferences>Interface shows English. I checked $CharacterEncoding. This gave a not standard return, so I updated it to $CharacterEncoding="WindowsANSI" but this did not help solve the problem.]