Hi,
I'm sorry if I misunderstood the purpose of utf8proc_charwidth, I thought it'd return the number of bytes required for a given codepoint.
Example, the letter é in UTF-8 is two bytes long (value of 233 in unicode) but utf8proc_charwidth(233) always return 1.
Did I miss something or there is no function to get the number of bytes a codepoint require?
Hi,
I'm sorry if I misunderstood the purpose of utf8proc_charwidth, I thought it'd return the number of bytes required for a given codepoint.
Example, the letter é in UTF-8 is two bytes long (value of 233 in unicode) but
utf8proc_charwidth(233)always return 1.Did I miss something or there is no function to get the number of bytes a codepoint require?