[Bug 18192] Notepad can only save in current locale encoding, should be able to save in unicode

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 27 06:39:31 CDT 2009


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





--- Comment #12 from Alexander Scott-Johns <alexander.scott.johns+winebug at googlemail.com>  2009-04-27 06:39:31 ---
(In reply to comment #11)
> (In reply to comment #10)
>> In my patch, I use an OFNHookProc... is there a simple way to detect if the
>> dialog it's hooking into is an Open or a Save As dialog? (Other than having
>> two hook procedures.)
>
> You can use the hook to store the desired encoding when saving, I don't see
> any reason to detect the file encoding

This is so that when you click on a file in the Open dialog, the encoding is
detected automatically, and the drop down box is set to it (this can then be
overridden by the user). In the Save As dialog, the encoding box shouldn't be
changed by clicking on different files.


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