My database is running on Postgresql 9.3, the application itself is ran on Apache Tomcat 8.5.3. The application involved is PopCommerce.
The database uses UTF8 encoding:
Name | Owner | Encoding | Collate | Ctype | Access privileges -----------+----------+-----------+---------+-------+------------------------ moquidb | postgres | UTF8 | C | C |
I have not changed default settings (regarding locales) on any of the servers, neither the database server, nor the Apache.
Current application behavior is confusing. I imported my customer's list of suppliers (mantle.party.Party + mantle.party.Organization), all in slovak language with accented characters - á, š, č, ž, etc. Everything seems fine, until I start using the search in FindSupplier screen (and elsewhere too).
Let's assume I want to find suppliers having organizationName starting with letters 'Hús'. After I write the string 'Hús' into the Name text-find (input box) and hit Find button, a new screen renders with incorrect text in the Name box - 'Hús'. The letter 'ú' was replaced with 'ú'. No search result, of course.
What is the correct way to setup the database and application server to support accented characters?
When developing, and running Moqui on my notebook with embedded database, nothing like this happened. I suspect the setting on servers should be changed. Any help appreciated.