|This is the talk page for discussing improvements to the Character encoding article.
This is not a forum for general discussion of the article's subject.
|Character encoding has been listed as a level-4 vital article in Technology. If you can improve it, please do. This article has been rated as C-Class.|
|This article is of interest to the following WikiProjects:|
- 1 Archived discussion
- 2 Drop 'Popular character encodings' section?
- 3 "Code page" versus "Codepage"
- 4 Article and category title ambiguity
- 5 thinking of a rearrangement
- 6 Braille 'the world's first binary character encoding'?
- 7 Are I Ching, geomantic figures and Braille "character encodings"?
- 8 Usage
- 9 ISO-8859-16
- 10 Byte order mark
- 11 History
- 12 encoding in programming language?
- 13 character encoding and text encoding
- 14 Other names?
- 15 Recent rewrite of intro
- 16 Proposed merge from Special characters
- 17 Merge of Code page
- 18 Unclear section "Character sets, maps and code pages"
- 19 Giving away paper copies of 7 ECMA standard character sets
- 20 External links modified
- Talk:Character encoding/Archive 1 contains many character encoding tables, including some PostScript tables that have not yet (as of June 2005) been incorporated into articles.
Drop 'Popular character encodings' section?
With the link to Category:Character sets added, I'm wondering whether Popular character encodings should be dropped (or shortened to the really popular ones)? As of today I wasn't bold enough to go forward. Comments? Pjacobi 12:17, 10 Jul 2004 (UTC)
- I'd say no. Categories have their uses, but the only way they can order their contents is alphabetically. I'd prefer not to abolish existing collections such as the one in this article in favour of categories. -- pne 10:55, 12 Jul 2004 (UTC)
"Code page" versus "Codepage"
- Somebody appears to have fixed this now: Codepage redirects to Code page. -- pne 10:57, 12 Jul 2004 (UTC)
Article and category title ambiguity
What's the difference between a "character set" and a "character encoding" and a "text encoding" ? They deal with assigning a unique integer to each character. I suspect the difference is so subtle that we might as well merge Category:Text encodings and Category:Character sets into one category. OK? --DavidCary 15:53, 18 Jun 2005 (UTC)
- The separateness of article text encoding seems of dubious value to me.
- For a very detailed discussion of the terminology see http://www.unicode.org/reports/tr17/
- Pjacobi 21:57, 2005 Jun 18 (UTC)
- I've gone ahead and merged the text encoding article's intro paragraph with this article's intro paragraph, and replaced the text encoding article with a redirect to this one. I have also nominated Category:Text encodings for deletion.
I suggest separating character encoding and character sets into two articles. Character sets need not use in computers. As you may know, Chinese and Japanese are composed of characters (not words). A group of characters form a character set, for example, character sets used in primary and secondary school education. (See Kyōiku kanji, Jōyō kanji, Jinmeiyo kanji for Japanese usage, and 現代漢語常用字表, 現代漢語通用字表, 常用國字標準字體表, 次常用國字標準字體表, 常用字字形表 for Chinese usage.)
Besides, character sets do not equal to character encoding because one character set can apply several character encodings. For example, latin letters encoded in ASCII or encoded in EBCDIC; or JIS X 0208 (a Japanese Kanzi set) encoded in EUC-JP or in Shift_JIS. --Hello World! 02:57, 27 September 2005 (UTC)
- Unicode and the ISO and IEC have standardized terminology for such things. The "character set", as in "a set of characters", that you are talking about is officially termed a character repertoire (for which there is no need for a separate article and thus no need to disambiguate it from character encoding; at most it could just be more clearly described in the character encoding article). The term character set is acknowledged only as an overloaded, much-abused, legacy term most often referring to what they now prefer to call either a coded character set (a repertoire of characters mapped to numbers) or a character map (a repertoire of characters mapped to specific byte sequences), or occasionally a character encoding scheme (a map or method of converting a character encoding form (don't ask) to specific byte sequences. For more info, Unicode Technical Report #17 is a good reference.
- Also, I asked elsewhere about how the term "character" is used in the study of written languages, as opposed to in computing, and it turns out that it's actually used to describe only certain kinds of graphemes used by certain written languages (a subset of Chinese logograms, IIRC). So your examples of other possible definitions of "character set" are in error. I think it's best to be very careful about preserving the distinction between a grapheme, the type of grapheme that is a 'character' according to scholars of written language, and the arbitrary abstraction that is a character (computing). "Character set", "character encoding" and other terms derived from the latter should be kept within the domain of computing related articles. — mjb 06:12, 27 September 2005 (UTC)
Which article in English wikipedia talks about character repertoire? --Hello World! 14:47, 3 October 2005 (UTC)
- It should be in this one and in the Unicode article. Clearly, there's work to be done
:)— mjb 18:07, 3 October 2005 (UTC)
thinking of a rearrangement
This article seems to be written as if the primary meaning of character encoding is "coded character set" whereas it seems to be far more often used to mean "complete process of encoding characters into a stream of code units". Plugwash 12:15, 16 January 2006 (UTC)
Braille 'the world's first binary character encoding'?
There is a discussion going on in Talk:Braille on the history of (binary) character encodings. This article is far better a place for the history (and the associated discussion). I Started a section on history. This should be expanded. -- Petri Krohn 00:26, 22 April 2006 (UTC)
Are I Ching, geomantic figures and Braille "character encodings"?
According to the definition given in this article, I Ching and geomantic figures aren't character encodings. They don't represent a sequence of characters, but symbolize crucial philosophical concepts; they don't aim to facilitate computer storage or telecommunication, but divination. According to that latter argument, Braille isn't a character encoding either (it's just a plain code). Therefore, I'm intending to remove the new history section. ― j. 'mach' wust | ✑ 19:47, 22 April 2006 (UTC)
Where's information about the usage of Unicode in Wiki articles?
Simon de Danser 14:08, 13 January 2007 (UTC)
I just added ISO-8859-16 to the list of ISO character sets but it was reverted by the anti-vandal bot. How stupid... Maybe someone will know why it was classified as vandalism and how to add it. 01:04, 2 April 2007 (UTC)
Byte order mark
I'd be interested in seeing a proper history of character encodings. What came before ASCII? What was the first character encoding used on a computer?
encoding in programming language?
If I understand well the article (bravo for the clear explaination of meaningful distinctions in section "unicode..."), a programming language adds a level of encoding on top of the whole mess: how characters are internally encoded meaning what is actually a character/string object inside? This will indeed affect how they are manipulated, how easily a given operation is performed, both for the language itself and for the programmar if the interface is not transparent (a dream in python, even python 3).
We could call this a PL-specific "character (or text) format" to avoid ambiguity with the previous 4 concepts: character~grapheme, ordinal ("code point" in unicode), code unit(s) (abstract byte or word values), (concrete) bytestring.
I guess in python by default the representation is close if not equal to utf8. But people told me one can build python with an alternate string format, close instead to strings of unicode ordinals, I guess in fact it is similar or equal to utf32/UCS4. I also read somewhere common C implementations use 32-bit representation of chars.
Note that it's rather complicated because texts to be representated (by string data in memory at runtime) come from:
- literal strings in source code
- various forms of computations which result in strings
- user direct input
- files in local file system, files over all kinds of networks
How does a language, how does a programmer, guess the original encoding (concrete scheme)? A real mystery for me...
What about a section on this topic? Searched for info in WP, couldn't find anything. Pointers (to WP or elsewhere)? Well, after some reflexion, I guess this would be worth a separate article, so much complicated the topic is. But it would certainly be hard to find references to point to, and avoid the content to be so-called "original research". Except maybe for some (unreadible for humans) docs & (hardly usable) tools provided by the unicode technocracy itself.
- You would have to read documentation for the specific language you are interested in. Most older languages (e.g. C) are encoding agnostic, as far as they are concerned strings are sequences of bytes and beyond alocating a few values and sequences from the ascii range (and therefore common to all encodings in wide use today) special meaning they don't care what the bytes mean (C did later gain support for widechar strings but i'm not sure if and how the operation of widechar constants is standardised). JAVA uses UTF-16 strings and there is an option on the compiler command line to tell it the encoding of source files. I've never used python so I can't comment on the situation there. Plugwash (talk) 01:46, 3 November 2009 (UTC)
character encoding and text encoding
the redirection of 'text encoding' to this article is misleading and from the point of view of a specialist in digital humanities just wrong. 'character encoding' refers to the encoding of single characters as part of some character stream. 'text encoding' on the other hand refers to encoding schemas which allow to markup specific features of a text like structural divisions, layout information, linguistic analysis etc. -> markup language Probably it would be the best to refer text encoding to markup language as long as there is no dedicated article on this topic. —Preceding unsigned comment added by 126.96.36.199 (talk) 10:49, 3 July 2010 (UTC)
Recent rewrite of intro
CecilWard's recent rewrite of the lead redefined codes as being the same thing as "numbers". That's not correct. The pre-UCS/Unicode encodings generally mapped characters to bit or byte sequences. Morse Code, for example, maps them directly to electrical pulses. There are no numbers involved whatsoever. The old lead was very stable and, I believe, correct. If it is too technical or confusing to a newbie, we can work on that, but for now I'm reverting the change and am inviting discussion: what's confusing about its current form? —mjb (talk) 01:21, 18 August 2011 (UTC)
- There is a code link, and it is the right thing. I see no need to change something here; it would be better to refine the "code" article to make a better overview of various ways of encoding. Incnis Mrsi (talk) 17:06, 19 August 2011 (UTC)
Proposed merge from Special characters
Unclear section "Character sets, maps and code pages"
This sentence defines "code page" in terms of many code pages.
- A "code page" usually means a byte-oriented encoding, but with regard to some suite of encodings (covering different scripts), where many characters share the same codes in most or all those code pages.
It may be just me that don't understand, but I cannot make sense of it. It says "those code pages." What are these code pages? Does a "code page" refer to many code pages?
In general, this paragraph should contain clear definitions that use already defined terms to define new terms. It should avoid recursive definition, unless necessary. — Preceding unsigned comment added by 188.8.131.52 (talk) 15:08, 1 September 2015 (UTC)
Giving away paper copies of 7 ECMA standard character sets
I have paper copies of the following ECMA standards. They are 8 1/2 x 11 with blue covers. They all deal with character sets, which I was working on at the time. (See my contribution to the tilde article, which I'm very proud of.) The biggest is 24 pages. I want to get rid of them (they were very hard to get from ECMA in the 80s, which, from the little corner I saw, did not seem to be a well-run enterprise). Does anybody want them, or have a suggestion of any library/museum that I could send them to? It's all available online now, although these specific editions might not be, if anyone else is interested in character set history.
- 6, 5th edition, March 1985
- 43, 2nd edition, December 1985
- 113, 2nd edition, July 1988
- 114, June 1986
- 118, December 1986
- 121, July 1987
- 128, July 1988
(See List of Ecma standards for more details.)
Hello fellow Wikipedians,
I have just modified 2 external links on Character encoding. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:
- Added archive https://web.archive.org/web/20060617193918/http://www.basistech.co.jp:80/knowledge-center/database/uc-trillium-2.ppt to http://www.basistech.co.jp/knowledge-center/database/uc-trillium-2.ppt
- Added archive https://web.archive.org/web/20080108123255/http://gizmojo.org:80/code/decodeh/ to http://gizmojo.org/code/decodeh/
When you have finished reviewing my changes, please set the checked parameter below to true or failed to let others know (documentation at
You may set the
|checked=, on this template, to true or failed to let other editors know you reviewed the change. If you find any errors, please use the tools below to fix them or call an editor by setting
|needhelp= to your help request.
- If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
- If you found an error with any archives or the URLs themselves, you can fix them with this tool.
If you are unable to use these tools, you may set
|needhelp=<your help request> on this template to request help from an experienced user. Please include details about your problem, to help other editors.