All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sun Oct 05, 2025 10:07 am 

Joined: Sat Oct 04, 2025 3:23 pm
Posts: 1
Hi, I've noticed a problem with character encoding when using UECP as the RDS source. For RT messages (and PS), UECP pre-encodes characters to their correct value for RDS transmission, there's no need for re-encoding. The character map is shown in figure E.1 here - https://d1.amobbs.com/bbs_upload782111/ ... RNY3D8.pdf (page 74)

In StereoTool this seems to work for some of the characters, but anything from 0xC0 (192) upwards gets incorrectly remapped. There seems to be a UTF-16 conversion and re-conversion to the EBU format happening. So for example if the UECP RT message has the code 0xD9 (209) for the letter Ä, the RT message as displayed in the final transmission actually shows Ñ instead. Instead of 0xD9 being passed directly through from the UECP, this EBU -> UTF-16 -> EBU remapping seems to be happening -

Character 0xD9 in UECP message --> StereoTool decodes this incorrectly as UTF-16 (= 'Ñ') --> StereoTool re-encodes Ñ to 0x8A (138) for transmission, the correct UECP/RDS value for Ñ, but not for the original Ä.

The same happens to the other characters too, so Á becomes À (192), Æ becomes â (226), etc.

What should happen for these is no conversion at all, with the input value being directly passed through without any remapping. Hopefully I've explained this OK and it's a fairly easy fix.

Thanks!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+02:00


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited