Monday 21 February 2011

Avoiding encoding headache

David Wheeler recently posted about encoding headaches. I'm not going to copy/paste my reply here, but the crux of it is:

Encoding is for i/o; in the Perl space, text must be Perl character strings.

I repeat:

Encoding is for i/o; in the Perl space, text must be Perl character strings.

Write that 100 times, display it next to your monitor(s), record it and play it whilst sleeping on your ipod for one week, have it tattooed on your fingers, and in no time you'll be known as the encoding guru in your company.

No comments:

Post a Comment