Old 2nd December 2006, 21:24   #1
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
Unicode for ML plugins?

Is it possible to retrieve item information in Unicode through the ML API?

In ml.h, I still see only the old struct itemRecord, which contains e.g.
char *title;

But what do I get here with ML_IPC_DB_RUNQUERY if the title is non-ASCII? E.g. Umlauts, or Chinese? I'm confused....

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Old 2nd December 2006, 21:58   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
anything related to ml_local (which is itemRecords, database queries and such like) is still ansi based so until they complete the new ml_local you're going to have to wait or find a different way to acquire the unicode data you need

-daz
DrO is offline   Reply With Quote
Old 2nd December 2006, 22:41   #3
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
Thanks, DrO,
that was quick!

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump