Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: Mathematica Language Encoding in Linux?

  • To: mathgroup at
  • Subject: [mg66320] Re: [mg66304] Mathematica Language Encoding in Linux?
  • From: John Fultz <jfultz at>
  • Date: Tue, 9 May 2006 02:35:26 -0400 (EDT)
  • Reply-to: jfultz at
  • Sender: owner-wri-mathgroup at

On Mon, 8 May 2006 00:46:59 -0400 (EDT), ahmet nurlu wrote:
> I am  a user of Mathematica 5.0 in Linux(Debian/testing). Sometimes, I
> need to prepare mathematica notebooks in my own Language(Turkish). I am
> not  able to write  Turkish inside Mathematica in Linux.
> I thought I could overcome this problem by changing language settings of
> the system  from "en_US" to "tr_TR"(as  by using  "export LC_ALL=tr_TR"
> command) but this time, Mathematica refuses to run and gives some
> errors.  I have also a windows version of Mathematica  and this problem
> is non-existent in Windows. I wonder the non-English users of
> Mathematica could use their own language inside the Mathematica
> environment in Linux?
> Ahmet Nurlu

I don't know for certain how well Turkish will work in your version of 
Mathematica, but I do know for certain what's causing the errors you're 
seeing.  There is a bug in your version of Mathematica (fixed in later 
shipping versions) which causes problems when LC_NUMERIC is set to a locale 
that uses a character other than '.' for the decimal point.

The workaround is easy.  Just add


along with your LC_ALL variable setting.  You may also have to do a clean 
start of Mathematica, which you can do by adding the -cleanStart flag to 
your command-line (this should only be required the first time after you 
modify the environment).


John Fultz
jfultz at
User Interface Group
Wolfram Research, Inc.

  • Prev by Date: Re: 3D surface plotting
  • Next by Date: Re: 3D surface plotting
  • Previous by thread: Re: Mathematica Language Encoding in Linux?
  • Next by thread: Re: Mathematica Language Encoding in Linux?