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

Home » U++ Library support » U++ Core » String w/high characters but not UTF?
Re: String w/high characters but not UTF? [message #27902 is a reply to message #27868] Tue, 10 August 2010 09:13 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3460
Registered: August 2008
Senior Veteran
jeremy_c wrote on Sun, 08 August 2010 02:52

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

Hello Jeremy

One question: The problem is when you get the data or when you parse the data?


Best regards
IƱaki
 
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: Thu Jul 23 22:55:05 GMT+2 2026

Total time taken to generate the page: 0.00607 seconds