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  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to