bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] post data in unicode to Twitter error message invalid unicode


From: Roland Mösl
Subject: [Bug-wget] post data in unicode to Twitter error message invalid unicode
Date: Tue, 27 Jul 2010 15:04:05 +0200

This works and really posts to Twitter

"C:/Programme/GnuWin32/bin/wget.exe"  --server-response --save-headers 
--user-agent=WSC/4.7  
--append-output=c:/internet/twitter.pro/twitter/moesl_roland/twitter.log 
--http-user=XXXXX --http-password=XXXXX --auth-no-challenge  
--post-data="status=Test without German special characters" 
http://api.twitter.com/1/statuses/update.xml 
--output-document=c:/internet/twitter.pro/twitter/moesl_roland/tweet.txt

But as soon as I add a German special charakter 

"C:/Programme/GnuWin32/bin/wget.exe"  --server-response --save-headers 
--user-agent=WSC/4.7  
--append-output=c:/internet/twitter.pro/twitter/moesl_roland/twitter.log 
--http-user=XXXXX --http-password=XXXXX --auth-no-challenge  
--post-data="status=Test with German special character Mösl" 
http://api.twitter.com/1/statuses/update.xml 
--output-document=c:/internet/twitter.pro/twitter/moesl_roland/tweet.txt

It fails with the following answer from Twitter.com:
Invalid Unicode value in one or more parameters 

I checked the UTF-8 encoding of "ö", an o with 2 points above:

C3 B6 is exaclty what it should be according to the UTF-8 conversion table for 
"ö"

Any idea what's wrong with this?

best regards

Roland Mösl
http://politik.pege.org Steuerreform pro Mensch
http://notebook.pege.org mobile Computing
http://auto.pege.org Auto und Verkehr
http://wohnen.pege.org Bauen und Wohnen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]