blakeembrey / change-case

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

"Capitalize" is not working properly. #300

Closed Tiagofsant closed 1 year ago

Tiagofsant commented 1 year ago

Problem description.


In the string: "GERENTE DE TECNOLOGIA DA INFORMAÇÃO," when using the capitalCase method, it returns as follows: "Gerente De Tecnologia Da Informa O," which means it's removing the "Ç" and the "ã".

How can I solve this, knowing that this string is dynamically returned from the API?

blakeembrey commented 1 year ago

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