When you insert records by program, it will be correct. But when you
do it by console, it maybe wrong. Maybe console will encode your
Chinese String in its character set.

On Sep 10, 10:10 pm, john <[email protected]> wrote:
> This is a code issue.
> There are many chinese  application in Android Market
> It stores unicode characters fine
>
> On 9月10日, 下午5時37分, tstanly <[email protected]> wrote:
>
>
>
> > thanks Dianne,
>
> > but actually I use sqlite3 to insert a record not by program,
> > and I check when the record is English words, the app can output
> > correctly,
>
> > so....I don't think this is a code issue???
>
> > thanks
>
> > On 9月10日, 下午4時02分, Dianne Hackborn <[email protected]> wrote:
>
> > > It stores unicode characters fine.  (I believe the internal encoding it 
> > > uses
> > > is UTF-8, but this should be invisible to the Java level.)  I would 
> > > suggest
> > > looking at your code around it to make sure there aren't any encoding
> > > problems or such.
>
> > > 2009/9/10 tstanly <[email protected]>
>
> > > > under eclipse,the shell shows chinese ok (via sqlite3 and select *)
> > > > but random code in the app then retrieve data from database,
>
> > > > the same situation in the machine.
>
> > > > thanks
>
> > > > On 9月10日, 下午2時51分, 楊健 <[email protected]> wrote:
> > > > > I have try to store japanese and it works well.But the logcat can't 
> > > > > show
> > > > > Japanese correctly,maybe you just test under eclipse, did you?
>
> > > > > -----Original Message-----
> > > > > From: [email protected]
>
> > > > > [mailto:[email protected]] On Behalf Of tstanly
> > > > > Sent: Thursday, September 10, 2009 3:44 PM
> > > > > To: Android Developers
> > > > > Subject: [android-developers] sqlite can't show chinese words
>
> > > > > hi all,
>
> > > > > I found that sqlite can't store chinese words and will shows random
> > > > > code in
> > > > > the application when retrieve data.
>
> > > > > can somebody give some help?
>
> > > > > thanks!- 隱藏被引用文字 -
>
> > > > > - 顯示被引用文字 -
>
> > > --
> > > Dianne Hackborn
> > > Android framework engineer
> > > [email protected]
>
> > > Note: please don't send private questions to me, as I don't have time to
> > > provide private support, and so won't reply to such e-mails.  All such
> > > questions should be posted on public forums, where I and others can see 
> > > and
> > > answer them.- 隱藏被引用文字 -
>
> > > - 顯示被引用文字 -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to