in reply to Re^6: Mugged by UTF8, this CANNOT be right
in thread Mugged by UTF8, this CANNOT be right

Which leads me to ask: Is there a programming language that easily handles Unicode
Unicode is not an encoding.

Nor does the OP suggest in what you're replying to that it is.

The answer is no, there is no language that makes it easy. This is the fault of the fucking cretins who decided that having eleventy million different encodings of the same text was a great idea, and that the encoding that should be most common should be really complicated.

  • Comment on Re^7: Mugged by UTF8, this CANNOT be right

Replies are listed 'Best First'.
Re^8: Mugged by UTF8, this CANNOT be right
by ikegami (Patriarch) on Jan 27, 2011 at 16:49 UTC

    Nor does the OP suggest in what you're replying to that it is.

    It's not clear what he suggests since he didn't say what he meant. He's definitely not talking about Unicode. Perl is excellent at handling Unicode and gets better with every version. The problems he is having relate to encodings, and that has nothing to do with Unicode.

      The problems he is having relate to encodings, and that has nothing to do with Unicode.
      Except that he's having problems with Unicode encodings. In spite of protestations to the contrary, the term Unicode really refers to a standard and that standard includes definitions of encodings. IMO, it is a permissible shorthand to say Unicode encodings (or similar) as a shorthand for one or more of the encodings embodied in the Unicode standard(s) (or similar). The former is certainly easier on the senses and (again, IMO) is pretty unambiguous.

      Note: I did not say that Unicode is synonymous with encoding. But saying that Unicode is not an encoding is every bit as incomplete a statement as saying that Unicode refers only to the encoding parts of the standard(s).

        Damn NodeReader, so that is the level of pedantry that elicits a response from you :) wow

        Except that he's having problems with Unicode encodings.

        He didn't specify which encodings are involved, and it really doesn't matter. He's having problems with encodings, and he'd have the same problems no matter which encoding were involved.

        as a shorthand for one or more of the encodings embodied in the Unicode standard(s)

        There are no encodings embodied in the Unicode standard. At least that's what I was told, and I don't see any myself. Feel free to point out where.

        So again, Perl is great at handling Unicode. It's probably the best at it. Perl's support is so good that the Consortium is asking for advice from Perl's developers in defining behaviour that it never defined well because noone else had attempted to implement it yet.

        Encodings, that's another issue. That's what was being discussed.