com-lihaoyi / scalatags

ScalaTags is a small XML/HTML construction library for Scala.
https://com-lihaoyi.github.io/scalatags/
MIT License
758 stars 117 forks source link

output html is not utf-8 encoding #113

Closed manuzhang closed 8 years ago

manuzhang commented 8 years ago

The browser can not correctly display my Chinese name. It's ok after I manually added <meta charset="utf-8" />

lihaoyi commented 8 years ago

That's a browser problem, nothing to do with scalatags

lihaoyi commented 8 years ago

you need the meta charset thing in all web pages, regardless of scalatags or not :smile:

manuzhang commented 8 years ago

exactly, thanks