New topic: Help with text encoding/decoding
<http://forums.realsoftware.com/viewtopic.php?t=45867> Page 1 of 1 [ 3 posts ] Previous topic | Next topic Author Message richmanscott Post subject: Help with text encoding/decodingPosted: Sun Nov 11, 2012 9:31 am Joined: Fri Feb 24, 2012 2:25 am Posts: 35 This is definitely one of those subjects you have to experiment with and ask a bunch of questions before the light turns on. I am trying to Hex encode a string returned from an encryption function then convert it back to the original string. I convert the string going in to UTF8, encrypt it, convert it to hex, then place the string in a TextArea control. When I take the .Text value and decode, I get a completely different string. I know I'm missing something, can someone tell me what that might be? Top Jym Post subject: Re: Help with text encoding/decodingPosted: Sun Nov 11, 2012 10:06 am Joined: Sat Oct 01, 2005 5:19 pm Posts: 3180 Neither my Tarot cards nor my Crystal Ball can bring up the code you're using so I can't help maybe someone with mind-reading powers might check this thread. Top ktekinay Post subject: Re: Help with text encoding/decodingPosted: Sun Nov 11, 2012 10:44 am Joined: Mon Feb 05, 2007 5:21 pm Posts: 227 Location: New York, NY The actual code would help, but it sounds like you're not defining (not converting) the encoding as UTF-8 after decoding it. _________________ Kem Tekinay MacTechnologies Consulting http://www.mactechnologies.com/ Need to develop, test, and refine regular expressions? Try RegExRX. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 3 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
