原來是因為如果你的連結有中文字就無法在 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我要發問填空題
我為了這題數學題絞盡腦汁,但還是算不出來。 (請填空)
I have been recking my brain on this tough math question but I still cannot solve it.
下一題 - 願望
f我要發問請按讚支持中英物語的FB免費教英文