Skip to content

Japanese half-width kana dakuten(゙) and han-dakuten(゚) are not counted. #55

@sinbino

Description

@sinbino

Japanese half-width kana dakuten(゙) and han-dakuten(゚) are not counted.

import stringWidth from 'string-width'
console.log(stringWidth('バ')) // => 1
console.log(stringWidth('パ')) // => 1

Since dakuten(゙) and han-dakuten(゚) actually have width, these results should be 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions