Character Sets
Okay, its my secret shame as a web and sometimes XML guy, but I don’t really get character sets/character encoding. Something about being a mono-lingual American no doubt. If someone wants to sit down someday and explain it all to me that would be great, in the mean time I’m stumped by something small.
I’m playing with Kwiki (more on that soon), and I’m seeing some very interesting behaviour I don’t remember ever seeing before. It goes like this.
- Enter α into the editing textarea
- View wiki page see α
- Return to editing, now I see α
- Return to wiki, now I see α
- Return to editing page, still seeing α
- Return to wiki, now I see α on the live page as well as in the textarea
Can anyone explain to me what is going on? Since when did textareas start interpolating their contents? Or is it something going on at the Perl level (I don’t see any code that does this, perhaps somewhere deep within Perl’s unicode support, or CGI.pm?) Do I just need to stop worrying and do with it?