Skip to content

Conversation

@shirosaki
Copy link

A plugin uses non-ascii names in form.
It is required to decode as UTF-8.

A plugin uses non-ascii names in form.
It is required to decode as UTF-8.
@michaelherger
Copy link
Member

Could you please provide an example use case? I can successfully eg. search for "Šuma Čovjek" already. There are two non-latin characters in there.

@shirosaki
Copy link
Author

shirosaki commented Sep 23, 2025

@michaelherger
https://github.com/philippe44/LMS-Raop/blob/3b941963a3cbb0b3f08655ca7be0c043e979ca04/plugin/Settings.pm#L177

The above plugin code expects $params key name contains $device->{ 'udn' } which may be non ascii (Japanese) characters.
For example あいうえお (UTF-8)

@philippe44
Copy link
Contributor

Maybe I should change the UDN in LMS-Raop? That would be a breaking change meaning that all players would to be re-discovered, but isn't it the more appropriate place to make a change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants