TextAnalysis

FREEMIUM
By TextMiner | Updated 5 days ago | Tools
Popularity

9.1 / 10

Latency

307ms

Service Level

100%

Health Check

N/A

Back to All Discussions

\U8fd9 instead of ?

Rapid account: Webmagnets
webmagnets
9 years ago

With curl in Mac terminal I am getting this:

{
result = “\U8fd9 \U662f \U4e2d\U6587 \U6d4b\U8bd5”;
}

instead of this:

{
result = “? ? ?? ?? ??”
}

How can fix this?

Rapid account: Textanalysis
textanalysis Commented 9 years ago

Sorry, I have no idea to resolve the curl problem, recommend you use them in other programming language environment and encode the result.

Rapid account: Webmagnets
webmagnets Commented 9 years ago

I am using curl and outfile is not an option in curl.

p.s. - Please don’t close my tickets until I am satisfied.

Rapid account: Textanalysis
textanalysis Commented 9 years ago

close it now

Rapid account: Textanalysis
textanalysis Commented 9 years ago

You should encode it to UTF-8 when you want show it, like this:

outfile.write(result.encode(‘UTF-8?))

Join in the discussion - add comment below:

Login / Signup to post new comments