login about faq

I am using standard http.Download(url, file) to download a text file. On the pc the result is ok, but on the Mac the result is garbled (ANSI?). I tried http.get_Utf8() and http.put_Utf8(true), but no luck.

What must I do to get readable text back on PC and on Mac?

-Pim

asked Dec 19 '16 at 09:02

pgrooff's gravatar image

pgrooff
113


I found a work-around:

CkString html; html = http.quickGetStr(url));

String printString; printString = html.getString();

link

answered Dec 20 '16 at 06:59

pgrooff's gravatar image

pgrooff
113

edited Dec 20 '16 at 07:03

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×37

Asked: Dec 19 '16 at 09:02

Seen: 646 times

Last updated: Dec 20 '16 at 07:03

powered by OSQA