branch : pmacs2
This commit is contained in:
moculus 2008-09-26 21:34:09 +00:00
parent 0108de71ab
commit 067f35edfc
1 changed files with 3 additions and 2 deletions

View File

@ -596,8 +596,9 @@ class FileBuffer(Buffer):
data = ''
if data.startswith('\xEF\xBB\xBF'):
self.bytemark = data[:2]
data = data[2:]
# utf-8
self.bytemark = data[:3]
data = data[3:]
self.nl = self._detect_nl_type(data)
data = self.read_filter(data)