soasis / text

A spicy text library for C++ that has the explicit goal of enabling the entire ecosystem to share in proper forward progress towards a bright Unicode future.
https://ztdtext.readthedocs.io/en/latest/
Other
313 stars 24 forks source link

Encoding: punycode #33

Closed ThePhD closed 1 year ago

ThePhD commented 2 years ago

Look into seeing if Punycode can be added to ztd.text.

librarianmage commented 2 years ago

since punycode kicks non-ascii characters to the end of the string, does it still fit into the decode/encode one interface?

ThePhD commented 2 years ago

Yes, but some changes need to be made to the design to accomodate it, with respect to state.

ThePhD commented 1 year ago

This was implemented in cuneicode, and wrapped up to work here.