[LBo] file encodings on Linux
Emen Zhao
emenzhaowork at gmail.com
Tue Aug 21 05:31:32 CEST 2007
Hello Group,
I was working on some software internationalization project recently. I was
trying to save a txt file as utf-8 encoding, but without any luck. Changing
the locale setting or LANG env variable seems not helping. For example,
1. export LANG="zh-CN.utf8"
2. create a txt file using vi
3. file file_name
It's till displayed as ASCII text.
Any pointer on this topic are greatly appreciated! TIA
-- Emen
More information about the QnA
mailing list