mirror of
https://github.com/siemens-mobile-hacks/libffshit.git
synced 2026-11-25 23:57:31 +00:00
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 |
||
|---|---|---|
| .. | ||
| records.cpp | ||
| records.h | ||
| session.cpp | ||
| session.h | ||
| writer.cpp | ||
| writer.h | ||