[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-list
Subject:    Re: [Mono-list] Encoding Issue .Net vs. Mono
From:       davidweilers <david () lionhead ! nl>
Date:       2012-05-24 12:33:17
Message-ID: 1337862797079-4649527.post () n4 ! nabble ! com
[Download RAW message or body]

Actually, i just found out that on Linux the environment variable:

LANG=en_US.UTF-8

Defines the encoding. When run from a cron-job my application used a
different encoding than when run manually. I had to force the LANG setting
in the cronjob to enable UTF-8.

David


Atsushi Eno-2 wrote
> 
> No, not UTF-16. Default encoding is platform dependent. e.g. it is MS932 
> on my Japanese Windows, Latin1 for those in the U.S., and UTF-8 on 
> modern Linux desktop like gnome2 or 3.
> 

--
View this message in context: \
http://mono.1490590.n4.nabble.com/Encoding-Issue-Net-vs-Mono-tp3684639p4649527.html \
Sent from the Mono - General mailing list archive at Nabble.com. \
_______________________________________________ Mono-list maillist  -  \
Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic