On 14 Oct 2015, at 13:04, Allan Odgaard mailinglist@textmate.org wrote:
On 14 Oct 2015, at 18:19, Kalcifer Kandari wrote:
Bugged: xxd '/Users/user/test.txt' > '/Users/user/xxd' Not bugged: xxd '/Users/user/test2.txt' > '/Users/user/xxd2'
These files are identical.
'test.txt' and 'test2.txt' are different somehow, 'test.txt' has '‚Ķ', and 'test2.txt' has '…'. xxd doesn't think there is a difference, but QuickLook and TextMate do.
After closing and opening 'test.txt' again and clicking 'File -> Save As…' turns out the encoding is 'Chinese - GB18030', even though the encoding is set to 'Unicode - UTF-8' in the settings.
The settings is for what new files should be saved as.
Did the file you test only contain the ellipsis, or did it also contain other text?
Originally yes it did, further testing confirms this is the cause. Here are updated steps to reproduce the bug: Create a file in something other than TextMate with any name Enter any text Save with 'Western (Mac OS Roman)' encoding Open file with TextMate Press 'alt+;' for ellipses press 'cmd+s' to save close file open with TextMate, or anything that can open a text file