Dim test = System.Text.Encoding.GetEncoding("ASCII").GetBytes(Left(chg_kana_name, 1))
Dim test = System.Text.Encoding.ASCII.GetBytes(chg_kana_name)
Dim test As Byte() = { &H3F, &H3F, &H3F, &H3F, &H3F, &H3F, &H3F } '7バイト
Dim test = System.Text.Encoding.GetEncoding(50222).GetBytes(chg_kana_name)
Dim test As Byte() = { &H0E, &H43, &H3D, &H44, &H0F, &H1B, &H24, &H42, _ &H21, &H21, &H0E, &H3E, &H32, &H44, &H0F, &H1B, _ &H28, &H42 } '18バイト
Dim test = System.Text.Encoding.GetEncoding(50221).GetBytes(chg_kana_name)
Dim test As Byte() = { &H1B, &H28, &H49, &H43, &H3D, &H44, &H1B, &H24, _ &H42, &H21, &H21, &H1B, &H28, &H49, &H3E, &H32, _ &H44, &H1B, &H28, &H42 } '20バイト
Dim test = System.Text.Encoding.Default.GetBytes(chg_kana_name)
Dim test As Byte() = { &HC3, &HBD, &HC4, &H81, &H40, &HBE, &HB2, &HC4 } '8バイト
For Each c As Char In student_name Dim bin As Byte() = System.Text.Encoding.Default.GetBytes(c) Next