[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] 【help】why not support show ing filename containing chinese characters with the ls function ?



On 05/22/2012 08:07 PM, Richard W.M. Jones wrote:

> BTW, although this is not a proper solution, using the 'utf8'
> mount option should work, ie:
> 
>   ><fs> mount-options utf8 /dev/vda1 /
> 
> or:
> 
>   guestfish --ro -a d.img -m /dev/vda1:/:utf8
> 
> Rich.
> 


It's may because our qemu locale is "C" but not "en_US.utf8".

><fs> debug sh "export LC_ALL=en_US.utf8"
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
><fs> debug sh "locale"
LANG=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C


Thanks,
Wanlong Gao


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]