Topic: Encodings and character sets


Author: kavdeiv@mail.ru (Kiril Avdeiv)
Date: Mon, 22 Oct 2001 19:34:32 GMT
Raw View
As I can see, the standard document uses the terms "character set" and
"encoding" interchangeably.

Am I right thinking that the two terms bear the same meaning, or are
there any ramifications to all this?

Thank you

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.research.att.com/~austern/csc/faq.html                ]





Author: news_comp.std.c++_expires-2001-12-01@nmhq.net (Niklas Matthies)
Date: Mon, 22 Oct 2001 22:17:39 GMT
Raw View
On Mon, 22 Oct 2001 19:34:32 GMT, Kiril Avdeiv <kavdeiv@mail.ru> wrote:
>  As I can see, the standard document uses the terms "character set" and
>  "encoding" interchangeably.
>
>  Am I right thinking that the two terms bear the same meaning, or are
>  there any ramifications to all this?

I don't know whether they are meant to have the same meaning in the
standard (I don't have my copy at hand), but generally those terms do
_not_ have the same meaning. "Character set" usually denotes a set of
characters (usually along with a distinct, identifying integer number
for each contained character), and "encoding" denotes some way to
represent a sequence of those characters as a sequence of bytes (or
words, or similar).

-- Niklas Matthies
--
There is no such thing as luck. Luck is nothing but an absence of bad luck.

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.research.att.com/~austern/csc/faq.html                ]