Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: XML::Smart and UTF-8

by choroba (Bishop)
on Jun 07, 2014 at 14:53 UTC ( #1089141=note: print w/replies, xml ) Need Help??


in reply to XML::Smart and UTF-8

I don't work with XML::Smart. However, its documentation says, that this kind of encoding happens for binary data. Are you sure Perl knows your incoming data are UTF-8 encoded? (Is the data really Цитата and Попобава?)

You can also try to directly specify you don't want to encode binary data by set_binary(0).

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: XML::Smart and UTF-8
by Kyshtynbai (Sexton) on Jun 07, 2014 at 15:02 UTC
    I'm not actually sure (but it is text, not binary data; it comes from common input type=text html field). And the data is as you've decoded.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2019-10-17 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?