Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFPlay Unicode characters not displayed properly in file selector #1401

Open
3 tasks done
goooooouwa opened this issue Jan 31, 2024 · 3 comments
Open
3 tasks done

FFPlay Unicode characters not displayed properly in file selector #1401

goooooouwa opened this issue Jan 31, 2024 · 3 comments

Comments

@goooooouwa
Copy link

Checklist

  • I am reporting a bug in the Onion OS - Any issues with the closed source frontend (MainUI), or RetroArch or any of the cores should be directed to their respective repositories
  • I have reviewed the Onion Docs and did not find the answer
  • I have searched the existing (open and closed) issues to ensure I do not log a duplicate

Onions OS Version

4.2.3

Miyoo Firmware Version

202306282128

Provide a clear and concise description of the issue

FFPlay: Unicode characters not displayed properly in file selector

20240131_062829530_iOS

Steps to Reproduce

Please provide detailed steps that will help us replicate and investigate your issue:

Steps to Reproduce:

  1. Upload a video with filename containing Unicode characters, e.g. Chinese, Japanese
  2. Open FFPlay to select the file

Expected:

  • The filename containing Unicode characters can be displayed properly

Actual:

  • The filename containing Unicode characters is not displayed properly (see attached screenshot)

Provide any additional context or information that may help us investigate your issue

I believe the file selector is provided by the SDL terminal, relavant code snippet found in static\packages\App\Video Player (FFplay)\App\FFplay\launch.sh:

./bin/st -q -e "$sysdir/script/file_selector.sh" "Video Player" "$mediadir" "3g2 3gp asf avi flv h264 m2t m2ts m4v mkv mod mov mp4 mpg tod vob webm wmv"

@XK9274
Copy link
Member

XK9274 commented May 8, 2024

Pretty sure this is a problem with the terminal app's (st) bitmap font and not something we can easily fix as I believe eggs was involved. It's not a standard font file and therefore probably doesn't contain the characters you're expecting in the format you're expecting.

You can see the same issue here where the progress bar should be.. well a bar - not p's

image

@Esn024
Copy link

Esn024 commented Aug 30, 2024

I also have this bug (miyoo firmware 202310271401, Onion OS v4.3.1-1).
In the File Explorer, though, there is no such issue and unicode filenames display just fine.
Unfortunately, it's not possible to launch videos from the File Explorer.

@fengfrw
Copy link

fengfrw commented Aug 30, 2024

It is recommended that FFpay\PDF\PixelReader be moved to Emu to support Unicode character display and convenient and fast list selection.

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

No branches or pull requests

4 participants