badcodeltd / safecms

A powerful content management system built on top of the SAFE Network
MIT License
14 stars 5 forks source link

No Unicode support in templates #19

Closed BadCodeShane closed 6 years ago

BadCodeShane commented 6 years ago

The templates are base64 encoded, which only accepts 8bit strings in javascript by default. btoa/aotb need to be replaced with functions which support encoding 16bit unicode character sets.

BadCodeShane commented 6 years ago

This has been resolved in the following commits:

https://github.com/badcodeltd/safecms/commit/20cccf63cee25cb1b687059b87e286595dc97f09 https://github.com/badcodeltd/safecms/commit/d1301e493b76af941a8b92e92d233166d72b6bd1

Unicode support is also now present in posts, as well as templates.

A new version 0.0.6 will be released containing these changes.

BadCodeShane commented 6 years ago

Version 0.0.6 is now live, closing this issue.