[Bug 18191] Notepad should detect text type and prompt to change saved file encoding automatically

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jul 7 17:06:27 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=18191





--- Comment #26 from Alexander Scott-Johns <alexander.scott.johns+winebug at googlemail.com>  2009-07-07 17:06:27 ---
(In reply to comment #25)
> (In reply to comment #24)
[snip]
> > When opening the <utf8 -bom> file, what encoding does WinXP Notepad
> > select in the Open dialog? Did you override it?
> It shows UTF-8. Keep in mind that utf16-le/be with no bom work fine. It's only
> utf-8 that's broken.

That's interesting... so WinXP Notepad detected the file was in utf8. This is
quite hard to do.

> Perhaps you need to use the IsTextUnicode() function here...

This doesn't support detecting utf8, unfortunately.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list