From: James He <ic...@us...> - 2004-07-16 07:38:13
|
Should we supply 'encoding=enc-cn' files together with those utf8 encoded files? I think some people would have difficulty seeing the utf8 encoded files in some situations. I am just one of them. :) Sometimes, I use Putty to ssh to my Debian box(without X) under Windows XP. And then it is difficult to see all the utf8 encoded characters normally on screen. I used a simple script to convert all the translated docs to 'enc-cn' encoding and everything is okay. The script is as follows and it uses a packaged named 'zh-autoconvert' which supplies the tools 'autogb': ========================================== server# cat convert.sh #!/bin/sh for i in doc/*.txt; do autogb -i utf8 -o gb < $i >$i.tmp mv $i.tmp $i done ========================================== Still I am not quite sure if it is proper for us to supply author 'enc-cn' encoded copy of those docs. :) Best regards, -- James He |