Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom map not working properly #49

Open
aheng-he opened this issue Jul 18, 2023 · 1 comment
Open

Custom map not working properly #49

aheng-he opened this issue Jul 18, 2023 · 1 comment
Labels

Comments

@aheng-he
Copy link

aheng-he commented Jul 18, 2023

hello,when i use Chinese symbols as the custom map key, doesn't seem to be working

const key3 = limax('你好~', { separator: '-', tone: false, custom: {
    '~': '~',
} })

exception: ni-hao-~
actually: ni-hao

@aheng-he aheng-he changed the title custom map not working properly Custom map not working properly Jul 18, 2023
@lovell lovell added the bug label Jul 19, 2023
@lovell
Copy link
Owner

lovell commented Jul 19, 2023

This is probably due to the upstream bug pid/speakingurl#122 and sadly it looks like this dependency is no longer maintained (see also #39 for a similar issue impacted by this).

It might be time to vendor the logic and start patching/fixing the bugs here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants