原來是因為如果你的連結有中文字就無法在 iphone 上 work, 這算是 FB App 的 bug 吧..得開始尋找解決方案了
..by 中英物語 / 中翻英 / Chinese to English Classroom
請按 留言
或看以下留言
Johnny Lee 2013-05-07 19:17:48
有用 encodeURIComponent 函數去編碼試試嗎?
中英物語 / 中翻英 / Chinese to English Classroom 2013-05-07 23:18:40
Here's what happens. When I post a UTF8 link FB will automatically UTF8 decode it. Little do they know I've already done that, resulting in double decoding and an error occurs. For what it's worth kudos to FB for not barfing and printing the error trace.
Johnny Lee 2013-05-07 23:34:31
這樣好了, 假設你原本要 PO 的網址是 http://tw.news.yahoo.com/疑駕駛精神不濟-丙烯槽車翻覆-074427564.html, 那麼, 在 PO 之前, 把中文的部份貼在http://meyerweb.com/eric/tools/dencoder/ 這個網頁的文字框, 按下 Encode, 把這串編好的字串取代原來網址的中文部份, 例如變成 http://tw.news.yahoo.com/%E7%96%91%E9%A7%95%E9%A7%9B%E7%B2%BE%E7%A5%9E%E4%B8%8D%E6%BF%9F-%E4%B8%99%E7%83%AF%E6%A7%BD%E8%BB%8A%E7%BF%BB%E8%A6%86-074427564.html , 這樣就應該行得通了
中英物語 / 中翻英 / Chinese to English Classroom 2013-05-07 23:38:16
Thanks for your suggestion. A much easier way is copy the text in the URL field of Chrome when the said page has been loaded. Then paste it to see the UTF8 encoded text. Try it!
Johnny Lee 2013-05-07 23:42:41
Yup, that'll do. :-)
還有問題?請發問
請參考 Engoo 線上英文
選擇題
口頭禪的英文怎麼說? (二選一)
下一題 - 不對勁 f我要發問填空題
在 2048 這個遊戲裡我獲得了 4096 的方塊,真是歷史性的一刻! (請填空)
In the popular game of 2048 I have managed to get the 8192 tile. What a historic momen!
下一題 - 不食人間煙火
f我要發問請按讚支持中英物語的FB免費教英文