Commit graph

12 commits

Author SHA1 Message Date
Konstantin Pereiaslov
79d0702c8e SGOLD names in the phone's codepage
Some checks failed
Build dev / ubuntu-noble-dev-build (push) Has been cancelled
Build dev / debian-bookworm-dev-build (push) Has been cancelled
SGOLD keeps a name in the 8-bit codepage of the phone's language when the
codepage has all of its characters, and else as 0x1F followed by the name
in UTF-8, which is what the emulated CX70 v56 stored for names sent over
OBEX. Filesystem::Base::set_codepage() picks the codepage, CP1252 by
default: CP1251 for Cyrillic languages, CP1250 for Central European ones.

The SGOLD reader decodes names with it instead of returning the bytes, and
the writer encodes them the way the firmware does, so names beyond ASCII
can be written. The firmware folds the case of ASCII letters only and
hashes the stored bytes, 0x1F included. A name in another codepage than
the phone's is listed by the phone, but it cannot open it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MhNPkhMCs197RC4AQ3Nfgs
2026-09-29 21:12:43 +00:00
Konstantin Pereiaslov
c2e9b0f39b
Writing AI prototype 2026-09-29 15:39:29 -05:00
Roman Serov
eed97a853e README.md update 2025-07-23 18:27:53 +03:00
Roman Serov
5dd8034597 Спасибы 2025-07-23 12:02:00 +03:00
Roman Serov
a41f07f1fb Спасибы 2025-07-23 10:55:03 +03:00
Roman Serov
2526de84a4 Спасибы 2025-07-23 10:52:57 +03:00
Roman Serov
1f329377c1 README.md update 2025-07-16 14:47:36 +03:00
Roman Serov
4fcdf40110 README.md update 2025-07-16 14:41:52 +03:00
Roman Serov
a2dbab381d readme fix 2025-06-30 06:18:36 +03:00
Roman Serov
23163f0a45 readme fix 2025-06-30 06:12:32 +03:00
Roman Serov
999ce78bfa update README.md 2025-06-30 05:38:59 +03:00
Roman Serov
b4b4bfd82a init. Начало процесса выноса всего что касается фс в библиотеку 2025-06-13 00:40:49 +03:00