Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 3361
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: Tue May 14 18:10:13 CEST 2024

Total time taken to generate the page: 0.02057 seconds