Click here to Skip to main content
15,882,113 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi there, Now I have prepared validation processes by writing rest api. And I prepared a resource-bundle operation for each validation operation. However, when I send a query in the postman, some UTF-8 characters that I added in the resource-bundle are not read. It looks like this. The letters I use here are from the Azerbaijani language.The text I want to show here is "no such Employee id found". Even when I look at the resource-bundl, Intellij itself gives such a warning on utf-8-e characters. What can I do to make UTF-8 letters appear normally?

Unsupported characters for the charset 'ISO-8859-1

{
    "code": 404,
    "message": "\"Bel? id-d? i?�i tap?lmad?."
}


What I have tried:

In some places they told me to download higher level from jdk 8 but it didn't help.
Posted
Updated 20-Sep-21 22:34pm
v2
Comments
Richard Deeming 21-Sep-21 4:35am    
The error suggests your code is sending the response using the default Windows encoding, not UTF-8.
[no name] 25-Sep-21 17:28pm    
thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900