I've alpeady posted this issue to the other topic. I think it will be better to post it to a separate topic. Sorry for duplicating.
---
TC has a problem with encoding detection when it is UTF without BOM. TC detects encoding as ANSI. TC is unable to find national symbols when I tried to search files containing them. For test purposes I've used a very simple text file contain two words "Test" in English and Russian. Total file size is 12 bytes (4 for english and 8(2*4) for Russian).
I've uploaded a screenshot which is description of the problem.
http://imageshack.us/photo/my-images/53 ... oding.png/
Could you check it, please?
Thank you.
p.s. One of the earlier versions of TC2 was able to find and display such files correctly.
Bug Report: Invalid encoding detection
Re: Bug Report: Invalid encoding detection
Hello.
Can you, please, add a new ottion to the preferences that will force format detection as UTF8 withoit BOM instead of ANSI?
Thank you.
Can you, please, add a new ottion to the preferences that will force format detection as UTF8 withoit BOM instead of ANSI?
Thank you.
Re: Bug Report: Invalid encoding detection
+1.Ivan wrote:Can you, please, add a new option to the preferences that will force format detection as UTF8 withoit BOM instead of ANSI?
Just today encountered a problem with a lot of UTF-8 without BOM files: TextCrawler could not replace cyrillic text there. (As I understand, it's because TextCrawler treated those files as ANSI.)
Re: Bug Report: Invalid encoding detection
Hello,
I have the same problem with TC encoding detection. I mean TC detects files UTF without BOM as ANSI.
So we need some solution to solve this problem, because I also use national letters.
Thank you for any help and info.
p.s. I hope I don't need to create the same topic the third time... and we'll solve this problem once and forever
BR
vaidulis
I have the same problem with TC encoding detection. I mean TC detects files UTF without BOM as ANSI.
So we need some solution to solve this problem, because I also use national letters.
Thank you for any help and info.
p.s. I hope I don't need to create the same topic the third time... and we'll solve this problem once and forever

BR
vaidulis
- DigitalVolcano
- Site Admin
- Posts: 1863
- Joined: Thu Jun 09, 2011 10:04 am
Re: Bug Report: Invalid encoding detection
You can force the encoding output be to UTF8 in the options screen (Replace tab->Output encoding), this may help.
Re: Bug Report: Invalid encoding detection
Yes I saw this feature and this doesn't help. The problem is because TC detects files UTF8 without BOM as ANSI and then it doesn't recognise national letters and can't make changes correctly.
So now I convert manually these files to UTF8 with BOM that TC could recognise them correctly and in that case it works fine. But this process is uncomfortable...
Any more ideas or solutions?
Thanx in advance.
BR
vaidulis
So now I convert manually these files to UTF8 with BOM that TC could recognise them correctly and in that case it works fine. But this process is uncomfortable...
Any more ideas or solutions?

Thanx in advance.
BR
vaidulis