SwiftBootstring
?SwiftBootstring
is an implementaion of Bootstring in Swift.
It was originally written as a part of SwiftCGIResponder.
Bootstring
?Bootstring is a string encoding methods.
One of instances of Bootstring is Punycode, that is used to encode internationalized domain name(IDN).
Please refer to RFC 3492 for details.
import Bootstring
print("MajiでKoiする5秒前".addingPunycodeEncoding!)
// -> MajiKoi5-783gue6qz075azm5e
print("3B-ww4c5e180e575a65lsy2b".removingPunycodeEncoding!)
// -> 3年B組金八先生
MIT License.
See "LICENSE.txt" for more information.
link |
Stars: 0 |
Last commit: 1 year ago |
String
to StringProtocol
. by @YOCKOW in https://github.com/YOCKOW/SwiftBootstring/pull/4Full Changelog: https://github.com/YOCKOW/SwiftBootstring/compare/1.0.2...1.1.0
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics