Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13821

Re: Greek symbols mangled by InputForm

From David Bailey <dave@removedbailey.co.uk>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Greek symbols mangled by InputForm
Date 2013-03-13 08:18 +0000
Message-ID <khpcp7$me8$1@smc.vnet.net> (permalink)
References <20130308034901.EE50466BD@smc.vnet.net> <khdm7h$f0k$1@smc.vnet.net> <khmb7v$ngo$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


On 12/03/2013 04:34, carlos%colorado.edu@gtempaccount.com wrote:
>>
>>
>> My use of Block was being cautious.  Having done a little investigation, perhaps it's overly cautious, as changing $CharacterEncoding probably won't have any ill effects on other operations in the kernel.
>>
>>
>>
>> But it's possible I could be overlooking something.
>>
>>
>>
>> John Fultz
>>
>> jfultz@wolfram.com
>>
>> User Interface Group
>>
>> Wolfram Research, Inc.
>
> I tried it on a large code of about 15000 commands (a finite element analysis program used in graduate courses) with 9.0.1 and saw no (obvious) ill effects under Mac OS 10.6.  It was set in an initialization cell at start.
>
> Question: some of my students might have to run this program under Windows or Linux.  Is there a way to access a OS tag from within Mathematica, so that
>
> $CharacterEncoding="Unicode";
>
> is set only under Mac OS X?  (I am not sure if Windows or Linux needs that)
>
>

You can test the string obtained from $OperatingSystem

In[4]:= $OperatingSystem

Out[4]= "Windows"

or

In[6]:= $System

Out[6]= "Microsoft Windows (64-bit)"

BTW, it is worth exploring all the $ variables - they contain all sorts 
of information:

?$*

David Bailey
http://www.dbaileyconsultancy.co.uk

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Greek symbols mangled by InputForm John Fultz <jfultz@wolfram.com> - 2013-03-08 21:46 +0000
  Re: Greek symbols mangled by InputForm carlos%colorado.edu@gtempaccount.com - 2013-03-10 05:47 +0000
  Re: Greek symbols mangled by InputForm John Fultz <jfultz@wolfram.com> - 2013-03-11 08:42 +0000
  Re: Greek symbols mangled by InputForm carlos%colorado.edu@gtempaccount.com - 2013-03-12 04:34 +0000
    Re: Greek symbols mangled by InputForm David Bailey <dave@removedbailey.co.uk> - 2013-03-13 08:18 +0000
  Re: Greek symbols mangled by InputForm carlos%colorado.edu@gtempaccount.com - 2013-03-14 11:12 +0000

csiph-web