text file show special characters

Put your problem here if it does not fit any of the other categories.

text file show special characters

Postby rmeph » Sun Mar 02, 2008 5:29 pm

when i used text file in utf-8 format....it show special characters...how to avoid that... :cry:
rmeph
Senior Developer
Senior Developer
 
Posts: 121
Joined: Mon Dec 10, 2007 1:54 pm
Location: India

Top

Postby plusminus » Mon Mar 03, 2008 9:31 am

Hello rmeph,

how do you load that text :?:

Does it show special characters only :?:

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby rmeph » Mon Mar 03, 2008 2:25 pm

that file in zip file in raw folder....get that in zipInputstream and shoe on emulator...then it show special characters and text both are show..how to avoid it??
rmeph
Senior Developer
Senior Developer
 
Posts: 121
Joined: Mon Dec 10, 2007 1:54 pm
Location: India

Postby plusminus » Tue Mar 04, 2008 2:24 pm

Hello rmeph,

please provide an example.

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby rmeph » Wed Mar 05, 2008 6:38 am

see pic

that type special character show......
Attachments
untitled.JPG
untitled.JPG (40.59 KiB) Viewed 962 times
rmeph
Senior Developer
Senior Developer
 
Posts: 121
Joined: Mon Dec 10, 2007 1:54 pm
Location: India

Postby plusminus » Wed Mar 05, 2008 10:01 am

Hello rmeph,

what it is supposed to show. Perhaps provide the first Hex-Values of that file.
So we can see whether the chars are just displayed wrong.

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Postby rmeph » Wed Mar 05, 2008 12:49 pm

that is text file in UTF-8 format ..i m store that file in raw folder and get in inputstream and using WebView show on emulator....not use hexvalues
rmeph
Senior Developer
Senior Developer
 
Posts: 121
Joined: Mon Dec 10, 2007 1:54 pm
Location: India

Postby plusminus » Wed Mar 05, 2008 1:42 pm

I was asking for the first hex-bytes of that file!
I want to know whether the special-characters magically appear or not!

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Exabot [Bot] and 19 guests