The MASM Forum Archive 2004 to 2012

Project Support Forums => HLA Forum => Topic started by: hide2may on January 07, 2008, 05:09:32 PM

Title: [help] binary <--> ascii/unicode
Post by: hide2may on January 07, 2008, 05:09:32 PM
Hi there,

I would like to know how to do the following in hla:
(1) ask the user to input a 8-bit binary or 16-bit binary
(2) convert the input to ascii or unicode
(3) display the ascii / unicode to screen, so that we not only get the english character but also are able to get chinese/japanese character
(4) do it the other way round, input chinese/japanese character and get back the binary on screen.

The AOA doesn't seem to tell us this, so would any kind soul give his helpful hand?

Thanks in advance,
hide2may