tintin
tintin copied to clipboard
Unicode index missing for Big5
<118>utf8_to_big5: did not find unicode index '0xfffd' Can you add the related definition?
What would be the big5 equivalent?
It should be "symbols" from unicode unable to be mapped under BIG5TOUTF, so there isn't big5 equivalent.
So I can't really come up with a good way to fix this, assuming it needs fixing, suggestions are welcome.
Can it fall back and print the Unicode instead of showing big5 equivalent when missing index happens?
Not sure if I understand what you mean. When you get
<118>utf8_to_big5: did not find unicode index '0xfffd'
You can use: #showme \ufffd
to print the unicode character.
I mean can I make tintin++ to print the unicode character automatically when utf8 to big5 index is missing, along with the error message or even ignore the message? As it seems not all unicodes have the corresponding big5 equivalent. It only shows the "did not find unicode index xxxx" right now.
You should be able to substitute the message:
#substitute {^utf8_to_big5: did not find unicode index '0x%1'} {<118>utf8_to_big5: did not find unicode character '\u%1' with index '0x%1'}
And you can remove it with #gag.
Actually that Unicode codepoint is a special one: - that is used to show a character �
that cannot be shown (e.g. it doesn't exist in Unicode or possibly just not in the current font) if your OS / Browser can show: