I ran into the problem of character width in Japanese using glib :: ustring.
I have this line: γ¦ γ§ γ γΈ γ γ³ γ γΉ
I want to convert it to: γ¦ γ¨ γ γ· γ γ³ γ γΉ
Using ustring :: normalize, I get this line: γ¦ γ§ γ γΈ γ γ³ γ γΉ (in fact, each character with an accent fills the width of two characters)
Is there a standard method for handling this kind? Is OIT more effective?
I need to convert Japanese strings to one of two formats because a half-width string is different from the same width.
sye042
source
share