Unfortunely both two variants of this patch requires to
made changes to id3lib.
ID3v2.3.0 standard tells that allowed encodings are
two: iso-8859-1 or ucs-2. Numeric fields must be in
iso-8859-1. This patch sticks Grip to that requirements.
Both variants of patches adds function
ID3Field_SetEncoding() to c_wrapper.c in the id3lib
I have noticed that ID3Field_SetUNICODE() incorrectly
exchanges the byte order of the data. I am sorry but I
have not big endian machine to test it better.
In one of variants Grip exchanges the byte positions of
the data before sending them to id3lib. In other
variant Grip inserts a BOM character at the begining of
the ucs-2 string and additional fix is made to id3lib
to check whether begins with a BOM symbol.
I have tested this with cyrillic characters by a hex
editor/viewer and a charset convertor, but i cannot
find any mp3 player supporting unicode to test.
I RECCOMEND to use this patch along with patch 1003525.