Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Is there some universal Unicode+UTF8 switch?

by jcb (Curate)
on Sep 01, 2019 at 23:25 UTC ( #11105397=note: print w/replies, xml ) Need Help??

in reply to Is there some universal Unicode+UTF8 switch?

  • it contains unicoded Cyrillic literals

    So your script itself is in UTF-8?

  • it outputs unicoded Cyrillic

    And you are selecting UTF-8 output... are you correctly declaring the output to be UTF-8 in the HTTP headers?

  • it queries for unicoded JSON Cyrillic

  • it receives and handles unicoded JSON Cyrillic (not UTF8-encoded sequences) like this:Б

    This last item raises a big question: If the JSON Cyrillic is not UTF-8, what encoding is it in? You may need the Encode module to perform character set conversion prior to JSON decoding.

  • Comment on Re: Is there some universal Unicode+UTF8 switch?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11105397]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2020-04-10 07:07 GMT
Find Nodes?
    Voting Booth?
    The most amusing oxymoron is:

    Results (49 votes). Check out past polls.