Problem with certain characters with update

0 views
Skip to first unread message

maarten.vl...@gmail.com

unread,
Jan 15, 2008, 7:35:04 AM1/15/08
to Twitter Development Talk
When I do an update and use a character like "é" within the message
the message gets truncated.
For example when I update with "test1 é test2" twitter will only
display "test1 "

The character is converted to %e9 with the php function urlencode.

I could use htmlentities() but that causes errors in snitter and
twitterific.

Has someone got an idea?

dec...@red-bean.com

unread,
Jan 16, 2008, 3:07:13 PM1/16/08
to Twitter Development Talk
On Jan 15, 7:35 am, maarten.vliegenth...@gmail.com wrote:
> The character is converted to %e9 with the php function urlencode.

This byte is invalid UTF-8 -- you're encoding the character in
Latin-1. Use UTF-8 instead.
Reply all
Reply to author
Forward
0 new messages