[JDEV] utf8
Jeremy Nickurak
atrus at jabber.spam.rifetech.com
Wed Dec 3 21:22:23 CST 2003
> On Mon, 2003-12-01 at 20:48, jdev at empireenterprises.com wrote:
> 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.
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
I had no end of problems with UTF8 in perl writing janchor. I never did
find any solutions, unfortunately. If you ever do find a solution, I'd
be very interested in hearing it, as it's still a constant problem that
causes crashes frequently.
--
Jeremy Nickurak -= Email/Jabber: atrus at rifetech.com =-
I would rather spend 10 hours reading someone else's source code than
10 minutes listening to Musak waiting for technical support which isn't.
-- Dr. Greg Wettstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://www.jabber.org/jdev/attachments/20031203/19f981ab/attachment-0002.pgp>
More information about the JDev
mailing list