By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,625 Members | 1,448 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,625 IT Pros & Developers. It's quick & easy.

reading non english data from text file and displaying

P: n/a
Stu
Hi,

Im sure this is one of those easy ones if you know how
Basically I have say some japanese stored in a text file and I want to
display in a browser page
so Ive done the following

Dim encode As Encoding = Encoding.GetEncoding(932)
Dim i, tot As Integer
Dim lctemp As String = ""
Dim arBdata() as byte

arBdata = convFileToBinaryStream(lcFile)

tot = arBdata.Length - 1
For i = 0 To tot
lctemp += encode.GetString(arBdata, 0, i)
Next

lblContent.Text = lctemp

also ive written out to the page
<meta http-equiv='Content-Type' content='text/html; charset=euc-jp'>

but nothing happens
Any Ideas
TIA

Stu
Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.