2008-06-26 URLEncode C# System.Web.dllを参照し using System.Web; String encoded = HttpUtility.UrlEncode("あああああ");