Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Visual Studio 2005 on Japanese

Name: Anonymous 2010-02-27 6:24

Does anyone know how I can express inputted japanese character-numbers, (1234567890) as normal integer values (1234567890)

if im writing an application for a japanese user and they enter on the form in a textbox "7", in the japanese font, how can i convert this as intger 7?

if i get the textbox.text value, it doesnt convert to an intger, even the char datatype doesnt like it.

Name: Anonymous 2010-02-27 8:08

>>6


thank you

i ended up using

Function AsciiEncode(ByVal value As String) As String
Dim encValue As New System.Text.StringBuilder(value.Length * 6)
Dim c As Char
' encode each char to its ASCII representation
For Each c In value
encValue.Append("&#")
encValue.Append(Convert.ToInt32(c))
encValue.Append(";")
Next
Return encValue.ToString()
End Function

its not perfect, but it will work :)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List