blakeembrey / change-case

Convert strings between camelCase, PascalCase, Capital Case, snake_case and more
MIT License
2.22k stars 92 forks source link

Characater problem #291

Closed onurkanbakirci closed 10 months ago

onurkanbakirci commented 1 year ago

When i try to use change-case as a extension in vscode, i faced some problems. Procedure i am following is;

1) Highlight İZMİR as a string in vscode 2) open command palette via command + shift + p keyboard combination
3) Select Change Pascal Case future and then press enter

After these steps i expect that the result of process should be;

İzmir

But actual result is

İzmi̇r

There is an incorrect translation between upper "İ" to lower "i" character.

blakeembrey commented 1 year ago

When I use DuckDuckGo it lower cases to the second result. Are you expecting a certain locale behavior? I know I have overrides for that behavior here: https://github.com/blakeembrey/change-case/blob/master/packages/lower-case/src/index.ts

blakeembrey commented 10 months ago

This should be fixed with change-case@5.0.0. Please update and let me know if you still see any issues.