SoyLatte encoding behavior of UTF-8

Carfield Yim carfield at carfield.com.hk
Mon Mar 17 11:57:07 PDT 2008


Not sure if everyone aware of this, by default SoyLatte is use UTF-8
as default encoding, but Mac OS X use MacRoman encoding to encode the
file name. Thus there is chance that having problem call
java.io.File.getName() . However , MacRoman is very close to  UTF-8 so
that log file may show correctly encoded string but in fact something
going wrong.



More information about the porters-dev mailing list