Reputation: 9479
I have a file with data that contain values in english and russian. But when I try to print russian data in logcat, its not shown in the way its there in the file. Its coming as some special characters. What may be the reason?
For the above question, below answer worked....
Added new thing to the question:
I have search functionality in my app. So when I search this russian data, its not showing any results..if the data is english, it works perfectly...What could be the reason?
Upvotes: 1
Views: 496
Reputation: 13174
As I experienced, old ADT's Logcat doesn't support languages other than English. Update you ADT plugin (hope you are using Eclipse). I was also facing the same problem with Japanese, but as I've the new ADT now, its fine. You can update the ADT from Eclipse's Help menu >> Check for Updates.
Upvotes: 3
Reputation: 9479
I got solution for the second part too.. The problem was that word stored in db is actually russian only. Though it was seeming like english letters, in real case, it was in russian. I installed Russian Keyboard (GameWarrior)
from market. Using that keyboard, I typed the search string. Then it worked perfectly fine. Thanks for the support @Mudassir.
Upvotes: 0