Published
Edited
Mar 5, 2021
Insert cell
md`# Encoder Test`
Insert cell
api = FileAttachment("api@14.js")
Insert cell
sc = require(await api.url())
Insert cell
encoded = sc.core.textEncoding.encode('a')
Insert cell
sc.core.textEncoding.decode(new TextEncoder().encode("a"))
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more