Comparing version 1.0.6 to 1.0.7
{ | ||
"name": "b2a", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "btoa and atob (ie base64 encoding and decoding) support for node.js or old browsers, with the Unicode Problems fixed", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -41,3 +41,4 @@ [![Build Status](https://travis-ci.org/kaelzhang/b2a.svg?branch=master)](https://travis-ci.org/kaelzhang/b2a) | ||
// Oooooooops! | ||
// In most browsers, calling btoa() on a Unicode string will cause a Character Out Of Range exception. | ||
// In most browsers, calling btoa() on a Unicode string | ||
// will cause a Character Out Of Range exception. | ||
window.btoa('中文') // throws InvalidCharacterError | ||
@@ -44,0 +45,0 @@ |
6032
57