Skip to content

utf8proc_charwidth returns 1 for é character #170

@markand

Description

@markand

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions