Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - charset of mme and qdb: (4 Items)
   
charset of mme and qdb  
Hi all,

I understood that qdb is using UTF-8 as default charset for string values.
What charset is mme using internally and can the charset be changed?
For example, if I wanted to use UTF-16 system wide as default charset?
I see that the compile flag SQLITE_OMIT_UTF16 is activated in the sqlite_options.mk file. What does this mean in detail?


Best regards
Mike
Re: charset of mme and qdb  
All applications in QNX are using UTF8 (including mme).   Using utf-16  
would likely be a large undertaking.




On 2010-01-22, at 8:20 AM, "Michael Irsiegler" <community-noreply@qnx.com 
 > wrote:

> Hi all,
>
> I understood that qdb is using UTF-8 as default charset for string  
> values.
> What charset is mme using internally and can the charset be changed?
> For example, if I wanted to use UTF-16 system wide as default charset?
> I see that the compile flag SQLITE_OMIT_UTF16 is activated in the  
> sqlite_options.mk file. What does this mean in detail?
>
> Best regards
> Mike
>
>
>
> _______________________________________________
>
> Development
> http://community.qnx.com/sf/go/post45757
>
Re: charset of mme and qdb  
Thank you for your response. I have another question though:

Is it guaranteed that text objects in qdb are always in utf-8. For example the media storage device hosts mp3 files that
 have ID3 tags encoded in UTF-16 or any other charset, Is there a conversion done to utf-8 when the metadata is stored 
into the database, when the device is synced?

Regards
Mike
Re: charset of mme and qdb  
QDB is a 100% utf-8 interface.  If content is placed in there that isn't UTF-8 then it is a bug in the client code that 
put it in there.  In this example MME is the client application and it does convert different string encodings into UTF-
8.   All of the MME's interfaces including the explorer interface are UTF-8 also.

Dan


On 2010-01-26, at 7:40 AM, Michael Irsiegler wrote:

> Thank you for your response. I have another question though:
> 
> Is it guaranteed that text objects in qdb are always in utf-8. For example the media storage device hosts mp3 files 
that have ID3 tags encoded in UTF-16 or any other charset, Is there a conversion done to utf-8 when the metadata is 
stored into the database, when the device is synced?
> 
> Regards
> Mike
> 
> 
> 
> _______________________________________________
> 
> Development
> http://community.qnx.com/sf/go/post45916
> 
> 

Dan Cardamore
dcardamore@qnx.com