My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 6: space changed to +
1 person starred this issue and may be notified of changes. Back to list
Status:  Verified
Owner:  roga.lin
Closed:  Jan 2010


 
Reported by abdul.ar...@gmail.com, Jan 2, 2010
What steps will reproduce the problem?
1. uncomment $plurk->add_plurk('en', 'says', 'Hello World'); in example.php
2. run example.php

What is the expected output? What do you see instead?
I expect to see Hello World in my plurk page, but I get Hello+World instead

What version of the product are you using? On what operating system?
version: php-plurk-api 1.3 Beta
operating system: GNU/Linux

Please provide any additional information below.
none

Jan 6, 2010
#1 hit1205...@gmail.com
我也遇到一樣的問題 (1.3 Beta),而 UTF-8 字元送出後也會被編碼
剛才看了一下程式碼,只要把 plurk_api.php 的第 645 行:

'content' => urlencode($content),

改成這樣就可以了:

'content' => $content,

經過我測試的結果:如果用了 urlencode(),則 Plurk.com 噗出來的資料
會是經過編碼的,不會 decode
Jan 6, 2010
#2 hit1205...@gmail.com
再補充一下 ~~ 我剛才實際測試過後
發覺 urlencode() 的問題不只出現在 add_plurk() 裡
add_response() 和 edit_plurk() 也會這樣...
Jan 11, 2010
Project Member #3 roga.lin
please checkout the latest source code from svn repos. actually, i fixed the bug you
just mentioned last year, but i forgot to repack the download package after committed.


Status: Accepted
Jan 11, 2010
Project Member #4 roga.lin
(No comment was entered for this change.)
Owner: roga.lin
Jan 13, 2010
Project Member #5 roga.lin
(No comment was entered for this change.)
Status: Verified

Powered by Google Project Hosting