futo-org / grayjay-android

Read-only mirror of Grayjay repo for issue tracking
https://gitlab.futo.org/videostreaming/grayjay
Other
652 stars 40 forks source link

Improper unicode parsing in channel names #969

Open VoxelPrismatic opened 4 months ago

VoxelPrismatic commented 4 months ago

Summary

Unicode text (perhaps specifically HTML escaped tags like & or ") render as unicode points instead of the actual character. Screenshot_20240507_221656_Grayjay


Steps to reproduce

  1. Subscribe to the Youtube Channel "Crain & Company"
  2. Find a recent video in the subscriptions tab

Observed result

The & is rendered as \u0026; the unicode point instead of the character.

Expected result

The unicode \u0026 would be rendered as & instead of escaped

Notes

System Information

B00fie commented 3 months ago

Could say the same for channel "calvin & habs" Screenshot_2024-05-21-01-57-11-521_com futo platformplayer-edit

nick-foxwell commented 1 month ago

Also the same for "Canal Furacão" Screenshot_20240715-043404~2

VoxelPrismatic commented 1 month ago

Also the same for "Canal Furacão" Screenshot_20240715-043404~2

URLs do not support unicode, so they are escaped with the % sign. You'll note that websites change spaces to either + or %20 in your search query for the same reason: URLs don"t support it.