@jupyterlite/contents 0.1.0-alpha.23 → 0.1.0-alpha.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/contents.js +1 -1
  2. package/package.json +1 -1
package/lib/contents.js CHANGED
@@ -319,7 +319,7 @@ export class Contents {
319
319
  const ext = PathExt.extname((_a = options.name) !== null && _a !== void 0 ? _a : '');
320
320
  if (options.content && options.format === 'base64') {
321
321
  // TODO: keep base64 if not a text file (image)
322
- const content = atob(options.content);
322
+ const content = decodeURIComponent(escape(atob(options.content)));
323
323
  const nb = ext === '.ipynb';
324
324
  item = {
325
325
  ...item,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyterlite/contents",
3
- "version": "0.1.0-alpha.23",
3
+ "version": "0.1.0-alpha.24",
4
4
  "description": "JupyterLite - Contents",
5
5
  "homepage": "https://github.com/jupyterlite/jupyterlite",
6
6
  "bugs": {