#perl - Fri 16 Mar 2007 between 19:33 and 19:39



JavaWomanthat's valid UTF-8 - but it' s HTML
rmahI love the confusion that character encoding causes
phroggywell yeh.
hobbsactually it's got nothing to do with UTF-8
rindolfphroggy: actually it's SGML.
mauke’ has nothing to do with utf-8
hobbsthe encoding is HTML ;)
phroggyrindolf: right
JavaWomanrindolf, I can see your message though, hebrew and all - does it display correctly rtl though?
rindolfJavaWoman: well, the Hebew letters are in the correct order, but they are aligned to the left.
hobbsit says "this is character 8217", not "this is 0xe2 0x80 0x99"
killer_Randal: ok.. thanks for your help, my problem has been that this javascript form POSTs 2 params and all the info is in the second var which is two lines that have to be split on \n $var[0] is the params, and $var[1] is the values. so CGI.pm wasn't my problem,
hobbswhich is fortunate, as a matter of fact :)
JavaWoman’ is valid UTF-8 because it's a valid ASCII string; it' s also a entity reference which in (X)HTML context will be interpreted as a Unicode character
maukehaha
JavaWoman wins
phroggyright
rindolfJavaWoman++
JavaWomanrindolf, just so I umnderstand you: it's properly rtl, only left-aligned instead of right-aligned?
hobbsbut it should still be decoded
phroggyhobbs: not necessarily!
rindolfJavaWoman: yes, exactly.
JavaWomanhobbs, it will be decoded in a browser - but not in (plain-text) email, thats' the problem
phroggyhobbs: if the browser expects plain text, why should it interpret ’ as a single Unicode character?
hobbsJavaWoman: aaagh.
JavaWomanrindolf, thanks - that's not too bad then :) but it cuold be better
hobbsphroggy: it shouldn't
rindolfJavaWoman: there are a bunch of characters for controlling BiDi in Unicode - LRM, RLM, LRO, RLO, etc.
hobbsphroggy: and we're not talking about a browser either.
phroggyright, sorry.
e-mail client.
MUA.
rindolfJavaWoman: but Unicode does not have a way to specify right alignment or left-alignment.
hobbsphroggy: when I say "it should be decoded" I don't mean "the MUA should decode it", I mean "Javawoman should decode it before sending" ;)
somianHave you Vimmers all seen http://www.vim.org/scripts/script.php?script_id=1808 ?
rindolfWhat most text editors is align according to the beginning of the line.
somianIt *looks* really neat.
JavaWomanrindolf, I'll have to ind out how the browser could tell what's needed - I think that's *language* rather than *character set*
rindolfsomian: nice.
hobbssomian: interesting

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 93 100 

IrcArchive