blakeembrey / change-case

Convert strings between camelCase, PascalCase, Capital Case, snake_case and more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Characater problem

onurkanbakirci opened this issue · comments

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.

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

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