[Bug 18191] Notepad always saves as ISO-8859, instead of UTF-8

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Apr 25 13:15:08 CDT 2009


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





--- Comment #3 from Austin English <austinenglish at gmail.com>  2009-04-25 13:15:08 ---
(In reply to comment #1)
> Wine notepad always saves in current Windows encoding (just like Win9x and
> NT 40 does), so it's normal that it doesn't match your Linux locale. Windows
> notepad at least in XP is able to save in UTF-8, but only if asked for.

It uses the IsTextUnicode function to determine this (albeit sometimes
incorrectly) automatically. See:
http://msdn.microsoft.com/en-us/library/dd318672(VS.85).aspx
http://en.wikipedia.org/wiki/Notepad
http://en.wikipedia.org/wiki/Bush_Hid_The_Facts

This bug is separate from bug 18192, which is about having those dialog options
when saving the file. This bug is for supporting IsTextUnicode and saving the
file appropriately.


-- 
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