in reply to Re^5: Simplest Possible Way To Disable Unicode
in thread Simplest Possible Way To Disable Unicode

Unicode support in perl is broken.
That isn’t even vaguely true, let alone concretely true. Just because one person does not understand something, or because another person doesn’t like something, does in no fashion mean that that something is somehow “broken”. To claim otherwise is tantamount to spreading leyendas negras and perilously close to spreading FUD. We need neither of those.

Having fought my way through the many, many ways that Unicode does not work properly in various other languages like Java, C#, Python, Ruby, PHP, and Javascript, not to mention the original misguided implementation of Unicode support from Perl 5.6 that’s been thankfully redesigned since then, I am completely confident that Perl’s Unicode support is not only not broken, but also that the Unicode support in Perl is superior to that in all those languages I’ve just mentioned.

Now, it is actually true that Unicode support has improved in the 5.14 release of Perl. However, Unicode support in Perl has been perfectly serviceable for many years now. To pretend that it is “broken” may be misunderstanding, it may be disagreement, and it may be bitter bluster, but it is simply and fundamentally not true.

It is also misleading and harmful to hear repeated. It helps nothing and only hurts people, people who may be naïvely deceived by this facile deceit. Here is what you should do instead:

Those are the only reasonable choices. If none of those “appeals” to you, then please gain some proper perspective by seriously trying out those other languages’ implementations of Unicode support. Who knows, you might even like them better than you do Perl’s.

If it irks you to paddle upstream all the time, then turn around and go the other way. Save yourself some grief — and the rest of us, too.

  • Comment on Re^6: Simplest Possible Way To Disable Unicode

Replies are listed 'Best First'.
Re^7: Simplest Possible Way To Disable Unicode
by BrowserUk (Patriarch) on May 24, 2011 at 19:27 UTC

    Unicode support in perl *is* broken.

    If for no other reason than I cannot ignore it. Things that worked before it was added, no longer do. (And there are plenty of other reasons.)

    If that doesn't make sense to you, re-read the thread. If it still doesn't make sense, then you've not read closely enough.

    I might even agree with you that Perl's unicode support is somewhat less broken than in many other languages, but you can't make a silk purse out of a sow's ear.

    The great thing about The Unicode Standard is that there are so many to choose from. Which makes the attempt to transparently support all of them, using an internal encoding that is none of them, heroic, but simply naive.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.