On Apr 23, 2007, at 10:49 AM, Jim Wagner wrote: > > On Apr 23, 2007, at 7:40 AM, Arnaud Nicolet wrote: > >> Le 23 avr. 07 à 16:35 Soir, [EMAIL PROTECTED] a écrit: >> >>> Note that if this binary data is actually text, it's up to you to >>> keep track of what encoding it is. >> >> Can you tell me again how we can figure out the encoding of a text >> for which we don't know the origin? I think you already explained, >> but I'm not sure (I'm not even sure it's possible in RB). >> _______________________________________________ > > The LR says that the result from GetSaveInfo is a string. Why does it > need to be encoded?
The string returned is binary data. Whether or not you need to encode it depends on how you store the string. For example, suppose you store a list of recently-opened documents in XML format. Then you would need to encode the alias data using Base64 to get an ASCII representation of the data that would be valid XML data. Charles Yeomans _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
