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

Support unicode character for initcap function #13711

Closed
tlm365 opened this issue Dec 10, 2024 · 1 comment · Fixed by #13752
Closed

Support unicode character for initcap function #13711

tlm365 opened this issue Dec 10, 2024 · 1 comment · Fixed by #13752
Assignees
Labels
enhancement New feature or request

Comments

@tlm365
Copy link
Contributor

tlm365 commented Dec 10, 2024

Is your feature request related to a problem or challenge?

Make initcap function work with Unicode character.

Describe the solution you'd like

Current behavior of DataFusion:

select initcap('đẹp đẽ êm ả édouard'); --đẹP đẽ êM ả éDouard
select initcap('ñandú árbol éxito'); --ñAndú áRbol éXito
select initcap('олег иванович'); --олег иванович
select initcap('íslensku þjóðarinnar'); --íSlensku þJóðArinnar
select initcap('ελληνική επιστήμη'); --ελληνική επιστήμη

Expected behavior: (Postgres)

select initcap('đẹp đẽ êm ả édouard'); --Đẹp Đẽ Êm Ả Édouard
select initcap('ñandú árbol éxito'); --Ñandú Árbol Éxito
select initcap('олег иванович'); --Олег Иванович
select initcap('íslensku þjóðarinnar'); --Íslensku Þjóðarinnar
select initcap('ελληνική επιστήμη'); --Ελληνική Επιστήμη

Describe alternatives you've considered

No response

Additional context

Found in comment of @Dandandan

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

Successfully merging a pull request may close this issue.

1 participant