Last active
June 15, 2016 07:25
-
-
Save openopen114/ac11769f40bbcef48ef9e6b99fd6273d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//GG crach | |
let webViewURL001: String = "http://text.com/?q1=我是中文&q2=我是符號%%%" | |
//Good to go with string.stringByAddingPercentEncodingWithAllowedCharacters(.URLHostAllowedCharacterSet())! | |
let webViewURL002: String = "http://text.com/?q1=我是中文&q2=我是符號%%%".stringByAddingPercentEncodingWithAllowedCharacters(NSCharacterSet.URLQueryAllowedCharacterSet())! | |
let url = NSURL(string: webViewURL002) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment