Are there ways to display Korean, Japanese or Chinese characters on polymer paper-item?

别来无恙 提交于 2019-12-02 10:54:30

问题


I am using polymer to develop my own app. Coz the target user are Asian, i have to use Korean, Japanese or Chinese characters. However, they are not display properly.like this

Are there ways to solve this problem?


回答1:


You need to specify the encoding in the HTML file of the Polymer element.

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

See also I have greek text on a String in Dart using Polymer, why is it displayed wrongly on the browser?



来源:https://stackoverflow.com/questions/35394715/are-there-ways-to-display-korean-japanese-or-chinese-characters-on-polymer-pape

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!