On Oct 4, 2006, at 2:59 PM, Dan Nafe wrote:

I've experimented with using "Encodings.WindowsANSI" and "Encodings.ASCII" and "Encodings.WindowsLatin1", etc, but still get the garbage characters.

Any ideas?

Sounds like you are seeing some display of the null bytes at the end of the string. In RB 2006r4, just released today, structure strings no longer include those padding bytes. In previous versions, you have to strip them off yourself, most likely using ReplaceAllB.

Mars Saxman
REAL Software

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to