tlm365 opened a new issue, #13711:
URL: https://github.com/apache/datafusion/issues/13711

   ### 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:
   ```sql
   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)
   ```sql
   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](https://github.com/apache/datafusion/pull/13691#discussion_r1875885799)
 of @Dandandan 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to