Package tech.mgl.core.utils
Class MGL_UnicodeUtils
java.lang.Object
tech.mgl.core.utils.MGL_UnicodeUtils
- Author:
- www.mgl.tech
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String中午字符串转unicode格式输出static int[]Converts a string to an array of Unicode code points.static Stringunicode2String(String str) static StringunicodeCodePointsToString(int[] codePoints) static StringunicodEescape2String(String unicodeEscape)
-
Constructor Details
-
MGL_UnicodeUtils
public MGL_UnicodeUtils()
-
-
Method Details
-
string2UnicodeEscape
中午字符串转unicode格式输出- Parameters:
str-- Returns:
- 参数
-
stringToUnicodeCodePoints
Converts a string to an array of Unicode code points.- Parameters:
str- The input string.- Returns:
- An array of Unicode code points.
-
unicodeCodePointsToString
-
unicodEescape2String
-
unicode2String
-