Talk:iconv

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

i as in what?[edit]

What does iconv, or the i at least, actually stand for? Loriel 16:49, 28 July 2006 (UTC)[reply]

I have been hunting high and low for the meaning of the i in iconv. So far I have come up empty. I know a few seriously old unix wonks. I will ask but I'm unhopeful. JoshuaRodman 07:56, 15 November 2006 (UTC)[reply]
Probably something along the lines of international conversion, but I don't have a source. Superm401 - Talk 21:26, 7 January 2009 (UTC)[reply]
1st paragraph of https://stat.ethz.ch/R-manual/R-devel/library/base/html/iconv.html explicitly states that `‘i’ stands for ‘internationalization’'. Just to show some source also claiming it is something with international. 5.102.213.69 (talk) 20:23, 14 October 2015 (UTC)[reply]

Converting ASCII to double-byte text?[edit]

Is there a run-time iconv utility that will convert ASCII text to other character sets? In particular, one that can convert raw-ASCII single-byte text to double-byte text? This would be most valuable to convert (say) Chinese text files that (incorrectly) display in single-byte ASCII text. — Preceding unsigned comment added by 216.232.201.37 (talk) 00:54, 5 November 2006 (UTC)[reply]

You could make this using iconv. Of course, details would depend on what you mean by "double-byte text" (UTF-16, UCS-2, or what?) Superm401 - Talk 21:26, 7 January 2009 (UTC)[reply]
If your Chinese text file incorrectly is displayed as ASCII, you shouldn't convert the text file, but instead do something about the software doing the displaying, or possibly something about metadata which labels the file with the wrong encoding. (If the metadata is part of the file, you would only need to convert the file in the sense of changing that metadata.) --83.255.55.91 (talk) 11:10, 24 March 2015 (UTC)[reply]

Unicode experiment[edit]

When the characters "Ü" and "ü" in a Rock Ridge file system (Linux) appeared as "├£ ├╝" in IsoBuster (Windows), I did some experimenting and found out this:

$ echo "Ü  ü"  | iconv  -t CP437 -f UTF-8
iconv: illegal input sequence at position 0
$ echo "Ü  ü"  | iconv  -t CP437 -f UTF-8
iconv: illegal input sequence at position 0
$ echo "Ü  ü"  | iconv  -t CP850 -f UTF-8 -c
Ü  ü
$ echo "Ü  ü"  | iconv  -t CP437 -f UTF-8 -c
Ü  ü

For anyone interested. Seeaver (talk) 22:55, 6 April 2022 (UTC)[reply]

See also: Unicode codepoints Seeaver (talk) 23:04, 6 April 2022 (UTC)[reply]