Foreign Character Problem with Fwrite
#2

Character encoding. The function writes to the file in UTF-8, which does not support these special characters. Try packing the string (strpack).

Quote:

This function writes a zero-terminated buffer, presumably a text
string, to the file. If the text string is in unpacked format, it is
written to the file in UTF-8 encoding. A packed string is written to
the file “as is”.

Reply


Messages In This Thread
Crooked Foreign Characters Problem with Fwrite - by Garavel - 07.01.2015, 06:10
Re: Foreign Character Problem with Fwrite - by Vince - 07.01.2015, 15:13
Re: Foreign Character Problem with Fwrite - by Garavel - 07.01.2015, 17:35
Re: Foreign Character Problem with Fwrite - by Garavel - 10.01.2015, 12:38
Re: Foreign Character Problem with Fwrite - by Garavel - 11.01.2015, 15:54
Re: Foreign Character Problem with Fwrite - by Garavel - 12.01.2015, 14:46
Re: Foreign Character Problem with Fwrite - by Garavel - 15.01.2015, 14:15
Re: Foreign Character Problem with Fwrite - by Garavel - 16.01.2015, 14:19
Re: Foreign Character Problem with Fwrite - by Garavel - 17.01.2015, 14:21
AW: Foreign Character Problem with Fwrite - by Nero_3D - 17.01.2015, 15:45

Forum Jump:


Users browsing this thread: 1 Guest(s)