Simple-Calendar icon indicating copy to clipboard operation
Simple-Calendar copied to clipboard

CJK Unified Ideographs Extension A Characters not Recognized

Open Vinfall opened this issue 7 months ago • 1 comments

What happened

Some CJK characters located in CJK Unified Ideographs Extension are not recognized by Simple Calendar and instead shows only a blank space. This happens in both subscribed CalDAV calendar and locally imported ICS file.

Versions

  • App: Version 6.23.1 Pro, F-Droid
  • OS: Android 12, vivo iQOO, originOS

Expected result & steps to reproduce

  1. Have the ICS file somewhere (you can use https://raw.githubusercontent.com/Vinfall/SteamWishlistCalendar/c7c280fc6acefb3219e3fbf0f0ca1b33a01712cb/output/wishlist.ics to test)
  2. Subscribe it in ICSx5 and sync to Simple Calendar (or alternatively, download & import the ICS file in Simple Calendar settings)
  3. Check the event on 2023-12-29 and it should be titled 𣸩 (as seen in https://github.com/Vinfall/SteamWishlistCalendar/blob/c7c280fc6acefb3219e3fbf0f0ca1b33a01712cb/output/wishlist.ics#L25)
  4. Actually, it shows a blank space

Suggested fix

The character itself is located in CJK Unified Ideographs Extension A, so extend the Unicode region to it should solve the issue. IDK, probably \u{20000}-\u{2ffff}? It's better to extend to somewhere like CJK Unified Ideographs Extension H (\u{20000}-\\u{323af}?) once for all IMO.

Vinfall avatar Dec 30 '23 05:12 Vinfall

@Vinfall SMT apps were sold to ad company. Fork is here https://github.com/FossifyOrg

inson1 avatar Jan 01 '24 11:01 inson1