You can use the <pre> tag.

For example
<html>
1
2
3
<pre>
1
2
3
</pre>

BR,
Adrian Vintu

http://adrianvintu.com



On Thu, Mar 25, 2010 at 1:13 PM, brijesh masrani
<masrani.brij...@gmail.com>wrote:

> Hello
>
> I am reading a txt file using Stringbuffer and try to show it in webview by
> adding simple html tags (<html><Body>"My txt content"</html></Body>)
> but it is not showing Spacial characters so can u please help me or any
> other way to show txt file in Web Browser....
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
> To unsubscribe from this group, send email to android-developers+
> unsubscribegooglegroups.com or reply to this email with the words "REMOVE
> ME" as the subject.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to