FAQ
so do you mean that Dumper should be seeing and outputting this as a
char sequence? (what it actually shows is a mix of chars and hex
bytes, in fact ...)
On Jan 6, 2008 2:08 PM, Aristotle Pagaltzis wrote:
* Daniel McBrearty [2008-01-06 13:30]:
On Jan 6, 2008 1:29 AM, Aristotle Pagaltzis wrote:
* Daniel McBrearty [2008-01-06 00:00]:
[debug] ab??e?
[debug] $VAR1 = "ab\x{c3}\x{a7}\x{c3}\x{b6}e\x{c3}\x{bc}";
[debug] it's UTF8!
Err, why doesn't Dumper say "ab\x{e7}\x{f6}e\x{fc}"? Strange
that the first line looks correct, though.
because it is utf8? shouldn't it be?
What Dumper outputs is the UTF-8 byte sequence; but the next line
says that the Unicode flag is set, so this is a character string,
not a byte string. So it's already double-encoded.

I don't understand why the first line looks correct though.

In any case the raw HTTP request that leads to all this would be
interesting.


Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.rawmode.org


--
Daniel McBrearty
email : danielmcbrearty at gmail.com
http://www.engoi.com
http://danmcb.vox.com
http://danmcb.blogger.com
find me on linkedin and facebook
BTW : 0873928131

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 12 | next ›
Discussion Overview
groupdbix-class @
categoriesperl, catalyst
postedJan 5, '08 at 10:54p
activeJan 7, '08 at 3:57p
posts12
users3
websitedbix-class.org
irc#dbix-class

People

Translate

site design / logo © 2021 Grokbase