[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Questions about Unicode-aware C programs under Linux
On Tue, Apr 17, 2007 at 08:47:19AM +0000, Ali Majdzadeh wrote:
> The program does not print the line read from the file to stdout (some junks
> are printed). I also used "cat ./persian.txt | iconv -t utf-8 > in.txt" to
> produce a UTF-8 oriented file.
If your native encoding is not UTF-8 then of course sending UTF-8 to
stdout is not going to result in something directly legible. I was
assuming you were using UTF-8 everywhere, which you should be doing on
any modern unix system...
Rich
--
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/