Re: Komodo 6 - find in files in utf8 without bom

Trent Mick <[email protected]> Sat, 6 Nov 2010 20:59:01 -0700
Newsgroups gmane.comp.ide.komodo.general
Message-ID <[email protected]>
"textinfo.py" (used by "Find in Files") is incorrectly guessing the
encoding of this file. As a result, "Find/Replace in Files" will mess
up for non-ASCII portions of the file.

Eric,
Perhaps you could open a bug on textinfo.py?

-----
$ cat findit.pl
I created a file containing the text "Vyváženě prožitý čas přeji",
set the encoding to utf-8, and could find the text
when the file was saved both with and without a BOM.
[20:56:47 trentm@banana:~/tmp/f]
$ file findit.pl
findit.pl: UTF-8 Unicode English text
[20:56:51 trentm@banana:~/tmp/f]
$ python ~/as/komodo/src/python-sitelib/textinfo.py findit.pl
findit.pl: Perl, iso8859-1
----


Trent

-- 
Trent Mick
_______________________________________________
Komodo-discuss mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss