Skip to content

hugh13245/punycode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Examples

Encode

std::wstring input = L"http://аpple.com";
auto encode_url = puny_code::url_encode<wchar_t>(input);
assert(encode_url == "http://xn--pple-43d.com");

Decode

std::string input = "http://xn--pple-43d.com";
auto decode_url = puny_code::url_decode<wchar_t>(input);
assert(decode_url == L"http://аpple.com");

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.7%
  • CMake 1.3%