regedit: Allow importing UCS-2 and UTF-8 files created by
Windows' regedit v5
Detlef Riekenberg
wine.dev at web.de
Thu Oct 12 17:12:05 CDT 2006
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)
--
By by ... Detlef
More information about the wine-devel
mailing list