Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Fuck this character encoding shit.

Name: Anonymous 2008-12-12 15:26

Let's say I have a 8-bit C string with an arbitrary character encoding. This string represents a local file path. The encoding is arbitrary since it is obtained by calling some .zip file routines - which do not specifically require one encoding or another, so basically everyone can encode his filenames as it goddamn pleases him.
Now, another library requires that all file names are to be encoded in UTF-8 before they can be passed to it.

Now how the fuck do I convert from one encoding to UTF-8 if I do not fucking know which base encoding was used? This is driving me crazy.

Name: Anonymous 2010-02-04 8:16

>>30
HAHAHAHAHAHA
YOU ARE A FUCKING IDIOT
GO LISTEN TO LINKIN PARK, WRITE AN ESSAY, DO HOMEWORK, WATCH FAMILY GUY, OR WHATEVER THE FUCK YOU KIDS SO TODAY
YOU DON'T BELONG HERE.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List