Re: regedit: Allow importing UCS-2 and UTF-8 files created by Windows' regedit v5
Oct. 12, 2006
10:12 p.m.
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
7105
Age (days ago)
7105
Last active (days ago)
0 comments
1 participants
participants (1)
-
Detlef Riekenberg