openatv/enigma2

Wrong mount options for USB sticks.

Opened this issue · 1 comments

Describe the bug / Actual behaviour:
I tried to record a TV show to a regular USB flash drive on a box without HDD. The resulting files had unreadable filenames because a vfat partition in a Russian locale must use " iocharset=utf8,codepage=866 " mount options to preserve non-latin channel and movie names.

These options are language-dependent!
The "iocharset=utf8" is universal but the "866" value is a legacy DOS codepage and would be different for other languages.

Expected behaviour:
Proper readable filenames for the recorded files.

To reproduce:
Steps to reproduce the behavior:

  1. Set non-Latin locale
  2. Got to a channel with non-Latin name and EPG
  3. Record any video to a FAT formatted USB drive.
  4. The filenames of the recorded files are unreadable garbage.

Image/Box Model (please complete the following information):

  • Version: 7.4 latest nightly build. All updates installed at the time of writing.
  • BoxModel: any

I'm curious to know how the Limit character set for recording filenames/Ограничить набор символов в именах записей option works with your locale.
20241027123331