为什么UltraEdit的“自动检测UNICODE”没起作用?

因为你提供的文件中,没有什么东西能让UE发觉它是UNICODE/UTF-8文件。

UE是这样检测的:

UltraEdit attempts to detect the file type when the file is loaded.  It will look for the FFFE marker for Unicode files.  For UTF-8 it will look for one of the following three occurences:

1) File marker FE, FE,FE.

1) String occurences "charset=utf-8"

1) It will interrogate the file and look for the occurrence of valid UTF-8 multi-byte characters

============================================

如果UE没有检测到,我们能不能告诉UE当前文件是UNICODE的? 答案是:不能!

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.