On Do, 2006-10-12 at 17:30 +0300, Paul Chitescu wrote:
/* Attempt to guess the encoding from the first several
bytes */
/* Extremely crude routine to convert to 8-bit */
Thanks for working on this Feature. As already mentioned, UNICODE is the better way. (You can loose Informations, when using ANSI) An Example to use Files with different encodings is in:
dlls/kernel32/profile.c => PROFILE_DetectTextEncoding(const void * buffer, int * len) PROFILE_Load(HANDLE hFile, ENCODING * pEncoding)