Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^10: Converting Unicode

by ikegami (Patriarch)
on Dec 04, 2023 at 22:13 UTC ( [id://11156068] : note . print w/replies, xml ) Need Help??


in reply to Re^9: Converting Unicode
in thread Converting Unicode

Test::More outputs what you tell it to, that's all. If you get garbage, it's because you provided garbage. Has nothing to do with Unicode.

Many here aren't using UTF8 regularly enough to become aware of all the places where one's code must be adapted for it.

EVERYWHERE. In every language, everywhere you provide a value (not just strings), you need to provide it in the right format. If you don't know the format, you have to look it up.

Replies are listed 'Best First'.
Re^11: Converting Unicode
by Polyglot (Chaplain) on Dec 04, 2023 at 22:31 UTC
    How much of your Perl code deals with non-European scripts, i.e. beyond the ASCII range? Do you handle such code differently, or are you programming for UTF8 compatibility with everything you do, even if you do not foresee a special need for UTF8 with it?

    Blessings,

    ~Polyglot~