Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: XML::Smart and UTF-8

by choroba (Archbishop)
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?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2020-10-22 01:51 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (225 votes). Check out past polls.