7 bit/8bit Conversions
Keywords: 7 bit 8bit Conversions unicode oem binaryconvert
Question:
Your binary functions were a great help in saving attached files from an mbx filde in the folder Express Outlook/Mail to another designated folder. But one problem remains. One file is a wordpad file ( extension : doc) and the other file is a ASCII text file (extension: txt). I realized that in these files the characters or signs with code values greater than 127d or 7Fh are not shown correctly. Probably this is , because they were tranformed as 7 bit values. Therefore 8 bit values, i.e. values greater than 127d or 7Fh , get converted to strange values smaller than 127d. Is there are simple method to convert them to their original 8 bit values ? I discovered your BinaryConvert function but could not find anything in the explanation about 7 bit codes. What is the meaning of Unicode and OEM ? Therefore my question: Is there a way to use this function in such a case ? The handle would be the text or doc file with the 7 bit values. How do I have to set the other 4 parameters ?I already got so much help from you with other problems, so i hope you can also help me with this one. Thank you so much !
Answer:
I'm not sure. Does it look of in Outlook?I think that once the conversion to 7 bits is done, information is lost forever.
BinaryConvert is not applicable here.
Unicode: A new character code used sometimes in Windows NT. Instead of the usual 8 bits for each character it uses 16 bits, so all the characters in all the world's languages can be incorporated into a single character set.
OEM: The Old style IBM-PC character set (ASCII with high order graphics).
Article ID: W14375Filename: 7 bit - 8 bit Conversions.txt