[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
Fri Jul 3 12:16:09 CDT 2009


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





--- Comment #19 from Alexander Scott-Johns <alexander.scott.johns+winebug at googlemail.com>  2009-07-03 12:16:08 ---
(In reply to comment #17)
[snip]
> > > Test files in Latin1, UTF16-LE, UTF16-BE and UTF-8 are provided. For the 
[snip]
> > Thanks! Saves me some effort. I'll test against windows notepad and make sure
> > we're consistent. Next up, to automate some tests...
> 
> Seems wine botches all files without a byte-order mark. See screenshots.

This is because in native Notepad \0 characters are converted into spaces; in
Wine, the file is truncated at the first \0.

I have two patches that fixes this...

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