login about faq

I stumbled across a problem which i am not sure how to solve. If i want to post to twitter with lets say some special chars (like ä,ö,ß) in statustext, i get something back like this:

{"errors":[{"message":"Could not authenticate you","code":32}]}

It looks like i have to convert those letters before sending them, because it breaks it somewhere on the way :-/ ?

CString updstat = "some stuff here äßöü";

req.AddParam("status",updstat);

Log shows e.g.:

RequestParams:
RequestItem:
name: status
value: ö

EDIT: Same request without such mutated vowls or special-chars works.

asked Dec 27 '12 at 14:29

RootTag's gravatar image

RootTag
35121623

edited Dec 27 '12 at 14:40


Did add the charset for utf-8

solved :)

link

answered Dec 27 '12 at 18:46

RootTag's gravatar image

RootTag
35121623

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:

×186
×27
×11

Asked: Dec 27 '12 at 14:29

Seen: 1,296 times

Last updated: Dec 27 '12 at 18:46

powered by OSQA