[Objective-C] A Port of encodeURIComponent().
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Example
Pod/Classes
.gitignore
.travis.yml
AZEncodeURIComponent.podspec
LICENSE
README.md

README.md

AZEncodeURIComponent

CI Status Version License Platform

A Port of encodeURIComponent().

AZEncodeURIComponent escapes all characters except the following: alphabetic, decimal digits, - _ . ! ~ * ' ( )

Installation

AZEncodeURIComponent is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "AZEncodeURIComponent"

Usage

use AZEncodeURIComponent C Function.

AZEncodeURIComponent(@"日本語"); // -> "%E6%97%A5%E6%9C%AC%E8%AA%9E"
AZDecodeURIComponent(@"%E6%97%A5%E6%9C%AC%E8%AA%9E"); // 日本語

Author

azu, azuciao@gmail.com

License

AZEncodeURIComponent is available under the MIT license. See the LICENSE file for more info.