[JDEV] utf8
jdev at empireenterprises.com
jdev at empireenterprises.com
Mon Dec 1 21:48:43 CST 2003
I found the Encode module, which includes utf8 checking function, "is_utf8".
According to this, my utf8 conversion functions are not working properly, as
is_utf8 is always returning false whenever I get content from LWP::UserAgent.
I've tried using both Unicode::MapUTF8 & Encode modules, to no avail. I'll keep
looking for perl utf8 information.
-g
Quoting Nicholas Perez <nick at jabberstudio.org>:
> Depending on your Perl version, all strings should already be unicode
> enabled. You should `man perluniintro` or `man perlunicode` for further
> information.
>
>
> Glen wrote:
>
> >Hmm.
> >Any ideas on how I would determine whether a string is UTF-8 encoded or
> >not?
> >
> >-g
> >
> >
> >
> >On Mon, 2003-12-01 at 18:19, Justin Karneges wrote:
> >
> >
> >>Make sure you don't double-encode your data. Your XML library probably
> >>supports unicode already, and so there should be no need to explicitly
> encode
> >>anything yourself.
> >>
> >>-Justin
> >>
> >>On Monday 01 December 2003 02:27 pm, Glen wrote:
> >>
> >>
> >>>general public,
> >>>
> >>>I'm attempting to send multiple languages in a jabber message.
> >>>I'm using Net::Jabber to send, & I'm encoding content into UTF-8 with
> >>>Unicode::MapUTF8; however, I'm receiving gibberish in the client.
> >>>
> >>>I don't know much about Unicode, but from what I understand, there isn't
> >>>much to it. My client (PSI on linux) supposedly supports UTF-8 - is
> >>>there something that I'm missing, or is there a direction anyone can
> >>>point me in?
> >>>
> >>>-g
> >>>
> >>>
> >>>
> >>>_______________________________________________
> >>>jdev mailing list
> >>>jdev at jabber.org
> >>>http://mailman.jabber.org/listinfo/jdev
> >>>
> >>>
> >>_______________________________________________
> >>jdev mailing list
> >>jdev at jabber.org
> >>http://mailman.jabber.org/listinfo/jdev
> >>
> >>
> >
> >_______________________________________________
> >jdev mailing list
> >jdev at jabber.org
> >http://mailman.jabber.org/listinfo/jdev
> >
> >
> >
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the JDev
mailing list