U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » String w/high characters but not UTF?
String w/high characters but not UTF? [message #27868] Sun, 08 August 2010 02:52 Go to previous message
jeremy_c is currently offline  jeremy_c
Messages: 175
Registered: August 2007
Location: Ohio, USA
Experienced Member
I am using a web service that returns data in a very old format (has endured since the DOS days!)... It's something like this:

FIELD1(char 181)FIELD2(char 182)FIELD3(char 184)FIELD4(char 185)


The (char 181) being actually chr(181). So, to parse you know you want the field starting with chr(183) ... for example ... You find 183, then search until 184 and take everything in between.

I seem to be having problems with U++ seeing that as a UTF string and doing weird things with it.

How can I prevent this? I am using HttpClient.Execute(); to get the content.

Jeremy
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: newline " " not supported?
Next Topic: Trim instead of TrimBoth
Goto Forum:
  


Current Time: Mon Apr 27 01:14:50 GMT+2 2026

Total time taken to generate the page: 0.00499 seconds