From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:ICU data file (icudt)" |
|---|
| claim | "Every ICU data item (and so a common package icudt<NN>l.dat) has the bytes DA 27 at offset 2, after the uint16 headerSize; udata_checkCommonData rejects the data otherwise or when isBigEndian/charsetFamily differ from the host." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:ICU data file (icudt)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "DA 27" |
|---|
| offset | 2 |
|---|
| meaning | "ICU DataHeader magic1/magic2 (followed by UDataInfo; common package has dataFormat 'CmnD')" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "magic1==0xda, magic2==0x27, dataFormat 43 6d 6e 44 = CmnD with formatVersion[0]==1" |
|---|
| repo | "https://github.com/unicode-org/icu" |
|---|
| commit | "ad484f3d6c036ba06193ac7c3bc2233a53ab68b8" |
|---|
| path | "icu4c/source/common/ucmndata.cpp" |
|---|
| lines | "331-348" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "DataHeader magic" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T18:05:06.082Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T08:59:08.853Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read ucmndata.cpp lines 330-340: udata_checkCommonData rejects unless magic1==0xda, magic2==0x27, isBigEndian==U_IS_BIG_ENDIAN and charsetFamily==U_CHARSET_FAMILY; magic bytes follow the uint16 headerSize." |
|---|
|
|
|---|