vega / altair

Declarative statistical visualization library for Python
https://altair-viz.github.io/
BSD 3-Clause "New" or "Revised" License
9.37k stars 793 forks source link

When using the browser renderer, no charset is set in the generated HTML #3603

Closed davidgroves closed 1 month ago

davidgroves commented 1 month ago

What happened?

  1. Generate any chart with a large label that will be truncated.
  2. Observe the truncation on a browser shows … instead of …

Confirm this is seen on Firefox 130.0 and Chromium 128.0.6613.119

What would you like to happen instead?

Have the Unicode ellipsis character … (U+2026) instead, as intended.

Current Output. image

Desired Output. image

Which version of Altair are you using?

5.4.1 and 5.5.0dev