Menu

#70 How can I get Unicode Endian information for a text field?

open
nobody
None
5
2004-07-30
2004-07-30
Jin Lin
No

How can I get Unicode Endian information for a text field?
ID3_Field::GetEncoding() only gives me it is unicode or
not. ID3_Field::Get() gives me the unicode string
without BOM. Is there any way that I'm able to know
the endian information? or is it possible to convert little
endian unicode to big endian unicode when the string is
returned from Get() function according to Unicode
Standard?
Thanks.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    According to 'io::readUnicodeString' and
    'io::readUnicodeString' source code in io_helpers.cpp at
    id3lib-3.8.3 ID3_Field::Get() allways returns the unicode
    data in big endian byte order.

     
  • Vladimir Petrov

    Vladimir Petrov - 2004-08-24

    Logged In: YES
    user_id=800933

    According to 'io::readUnicodeString' and
    'io::readUnicodeString' source code in io_helpers.cpp at
    id3lib-3.8.3 ID3_Field::Get() allways returns the unicode
    data in big endian byte order.

     
  • Vladimir Petrov

    Vladimir Petrov - 2004-08-25

    Logged In: YES
    user_id=800933

    Oh, instead of my flooding I also have forgotten to change
    the copyed text. I have wanted to say:
    'io::readUnicodeString' and 'io::readUnicodeText'.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.