Jump to content

display unicode value


DaveMason

Recommended Posts

This is in C# but it shouldn't be too hard to convert to VB

 	 int z,x; 	 x=0; 	 char[] charList = new char[2]{'x','a'}; 	 byte[] byteList = System.Text.UnicodeEncoding.Unicode.GetBytes(charList,0,charList.Length); 	 for(z=0;z<byteList.Length;z++) 	 {    if(byteList[z] != 0)    {   	 Response.Write(charList[x] + "="+byteList[z] + "<br>");   	 x++;    } 	 }

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...