In recent days, I have contacted the UE customer service for reporting some issue on UE 15.00.0.1043.
Comparing to UE 12, UE 15 finally provide us correct translation in macro defination help instead of translate macro command into chinese.
1. UE has flaw in supporting UTF-8 format.
When searching in UTF-8 files, UE 12 will improperly handle the line forward character.
When you open a text file, switch to hexical mode, and save it as UTF-8 format for two times, you'll get a meaningless file.
2.
Find in Files will fail on some Chinese file names and paths .
For example, directory name containing chinese character "双" (little-endian saved as 0xCB 0xAB) will definitely fail the search.
3. UE regular expression engine can't accept a normal '^' character.
UE regular expression engine takes '^' as a escape character, but no escape string can represent a normal '^' character. For UE's Unix regular expression engine it can take '\' as escape character and "\" represent a normal '\' character.
4. In my PC, open a file only containing
"木士"(0xC4 0xBE 0xCA 0xBF), the display is inrecognizable. but when I use ctrl-H change to hexical mode, I can get the correct chinese display. I write a program to get the font.
open the file only containing chinese characters "木士"
Current Font:[Arial Unicode MS] charset:0x00000086(GB2312_CHARSET)
after ctrl-H to hexical mode, font change and display is ok.
Current Font:[Courier New] charset:0x00000000(ANSI_CHARSET)
and I found notepad also shows similar behavior. the inrecognizable chars display when notepad open file default as UTF-8 encoding. and I found UE also can display right when I explicit open the file with "ASCII" option instead of "Auto Check ASCII/Unicode" option. so I think this incognizable chars issue should be caused by translating GB2312 encoded chinese chars from UTF-8 encoding to GB2312 encoding for display. Why default encoding is UTF-8...I don't know. and I have no language bar along with yesterday's bug checks six times in half a hour, god damned HP oem vista home basic 32bit.