http://bugs.winehq.org/show_bug.cgi?id=18191
--- Comment #3 from Austin English austinenglish@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.