SELECT LANGUAGE: English, 简体中文
GO TO DOWNLOAD PAGE
There are only two blueprint nodes "UnicodeToCharacter" and "CharacterToUnicode".
They have the same parameters, a DataTable of Stru_CharacterTable structure and a String.
They all have a String ReturnValue.
All you have to do is input a string of Unicode or a string of special characters into the correct node, and it will return the corresponding data in the DataTable that you select. If there is a problem with your input value, it will report the error in the log and return string "NULL".
The plug-in contains a complete ChineseCharacter data table.
Stru_CharacterTable is a C++ Structure which consists of two variables of String, "Unicode" and "Character".
You CANNOT break C++ structure in BP
There is a ChineseCharacter DataTable in the Content folder of the plug-in, You can use it directly or download the source file from here: Chinese Character Table UTF-8 Chinese Character Table ANSI.
Microsoft Excel 365 seems unable to read the CSV file with UTF-8 format. You can use Notepad++ or use ANSI version file to open it normally.
You need to convert your CSV file to UTF-8 format to use in UE Editor, otherwise it will be garbled.
.
This table should look like this. It has Unicode codes and corresponding characters.
We only need to intercept the parts we need. As shown in the figure, the basic Chinese Character range is \u4E00~\u9FA5.
The data in the picture is the range of Chinese Character, You may need to find your own language range
3.Use MS Excel or other software to process the character comparison table into the following figure.
The software in the picture is Microsoft Excel.
it will be garbled in the editor if you dont do this
.
Q: When using C++, it cannot be compiled and report "error C2001: newline in constant".
A: Switch the encoding of your CPP or H file to UTF-8 format.