Russian Language in Query Params

Alexander9 days ago

Hello, I use REST API Traccar to send coordinates to the server, inside the request I have a Query parameter "message" in which I want to send a note to the coordinate, when I send text in Russian, then in the report in the column message there is no entry, but when I send in English it is, how can I send text in Russian?

Anton Tananaev9 days ago

Which API? What exactly are you sending?

Alexander9 days ago

https://www.traccar.org/osmand/ this is how i send and add my attribute to the "message"

Anton Tananaev9 days ago

Logs?

Alexander9 days ago

Unfortunately no and there is nothing in the logs section

Anton Tananaev9 days ago

I meant server logs.

Alexander7 days ago

2025-03-19 17.48.09.jpg. the logs look like this

Anton Tananaev7 days ago

Seriously? A screenshot of logs?

Alexander7 days ago

Logs you can download from the link, inside the log id 5+897fb29ff11caedee456

Anton Tananaev7 days ago

Which specific example doesn't have an entry?

Alexander6 days ago

Logs can you please download the new logs, search by needed examples id: 5+897fb29ff11caedee456, time: 2025-03-20 15:11:11, I see error till 2025-03-20 15:15:28 WARN: Failed to save position - Invalid string value: '\xD1\x82\xD0\xB5\xD1\x81...' for column 'attributes' at row 1 - SQLException (... < QueryBuilder:469 < DatabaseStorage:95 < DefaultDataHandler:47 < ...) I just pass Russian text to the query parameter, tried to translate it to UTF-8, but on the site the text is not translated back to Russian, I did it through postman, the query url looks like this http://gts.wise-rep.com:5055/?id=5%2B897fb29ff11caedee456&timestamp=1742472671&lat=1.0&lon=1.0&speed=3.4252129&bearing=133.97823&altitude=16.799999237060547&accuracy=14.909&event=location&message=ั‚ะตัั‚. Can you please advise how to properly send the text in Russian?

Anton Tananaev6 days ago

The problem seems to be with your database encoding.

Alexander6 days ago

I edited my message but it didn't change, can you make changes