svnno****@sourc*****
svnno****@sourc*****
2011年 9月 12日 (月) 12:54:42 JST
Revision: 1586 http://sourceforge.jp/projects/tween/svn/view?view=rev&revision=1586 Author: kiri_feather Date: 2011-09-12 12:54:42 +0900 (Mon, 12 Sep 2011) Log Message: ----------- #を含むとエンコード出来なくなっていたバグ修正 Modified Paths: -------------- trunk/Tween/bing.vb -------------- next part -------------- Modified: trunk/Tween/bing.vb =================================================================== --- trunk/Tween/bing.vb 2011-09-10 17:34:09 UTC (rev 1585) +++ trunk/Tween/bing.vb 2011-09-12 03:54:42 UTC (rev 1586) @@ -141,7 +141,7 @@ ByRef buf As String) As Boolean Dim http As New HttpVarious() - Dim apiurl As String = TranslateUri + "&text=" + _text + "&to=" + _to + Dim apiurl As String = TranslateUri + "&text=" + System.Web.HttpUtility.UrlEncode(_text) + "&to=" + _to Dim content As String = "" If http.GetData(apiurl, Nothing, content) Then buf = String.Copy(content)