tools: fix the python warning about the \h

This commit is contained in:
fgsfds committed 2024-11-19 18:15:05 +01:00
1 parent 9f43c906db
commit c7895d937f
1 file changed
+1 -1
+1 -1
View File
@@ -89,7 +89,7 @@ The input string is UTF-8, and it needs to be re-encoded to a custom encoding.
A lookup array is used for this. A lookup array is used for this.
However, some UTF-8 characters appear multiple types with a different encoding. However, some UTF-8 characters appear multiple types with a different encoding.
For duplicates, we store the character in JSON as something like \habcd where For duplicates, we store the character in JSON as something like \\habcd where
abcd is the target value in hex. abcd is the target value in hex.
""" """
def encode_jp(string): def encode_jp(string):