2007-08-27

To see or not to see

Encoding and internationalization are weird and fucked up things, thats generally how I recognize it. (How else could a L"C++" _T("developer") (wchar_t*)"think" about swprintf("those") things?)

However today I came across a problem in the web context and found, that one shouldn't really trust anything he sees, or at least know what he is really looking at and what will not be shown to him.

What I mean is 0xEF BB BF, the UTF-8 Byte order mark sequence with which UTF-8 encoded files may be prefixed (byte-array-wise speaking).

Notepad filters them, as they are encoding and so I found a new reason for using a hex editor.

No comments: