How do I know, what encoding a certain file uses?
regards Cornelius
Gordon Messmer schrieb:
Cornelius Kölbel wrote:
I had several problems with utf-8 codes. Many programs did not run, due to the definition of utf-8.
After changing my /etc/sysconfig/i18n and removing every utf, these program run ok.
...
It is something like iconv: ivalid input sequence...
Your problem is going to be that all of your data needs to be encoded in the character set indicated by the LANG variable. If you're using UTF-8, the data can be in any language, and conforming applications will be able to read/process/display the data. If you're using another locale, all of your data needs to be in that encoding.
Your system's man pages, as well as pretty much all the rest of the data included in the distribution is going to be UTF-8 encoded. The easiest way for you to fix the problem is to use a UTF-8 LANG setting and convert any non-utf-8 files you had to UTF-8 using iconv (rather than the other way around).
In either case, the "iconv" command can convert data between character sets. See the "man 1 iconv".
-- Cornelius Kölbel Landgraf-Karl-Str. 19 34131 Kassel
0561 / 816 75 34
-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list