MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

"DayNameShort" // Chinese, Japanese

  • To: mathgroup at
  • Subject: [mg100867] "DayNameShort" // Chinese, Japanese
  • From: "Scot Martin" <smartin at>
  • Date: Tue, 16 Jun 2009 21:54:15 -0400 (EDT)
  • Organization: Harvard University
  • Reply-to: <scot_martin at>

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


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


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






  • Prev by Date: Re: Extracting contour values from ContourPlot
  • Next by Date: Re: How to use R within Mathematica
  • Previous by thread: Re: erroneous result when adding reals
  • Next by thread: Continuous updating in Manipulate