Skip to content

CJK characters should be count as 2-char width #28

Description

@Jack-Works

The formatter currently counts CJK chars as 1 char width which creates a bad format result:

Current format result:

2024-01-01 *
  Assets:Test:一二三銀行-A                                       10 JPY
  Assets:Test:一二银行-B                                        20 CNY
  Assets:Test:은행                                            30 WON
Image

Expected result:

2024-01-01 *
  Assets:Test:一二三銀行-A                                       10 JPY
  Assets:Test:一二银行-B                                         20 CNY
  Assets:Test:은행                                               30 WON
Image

Font: "Ubuntu Sans Mono"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions