sciter-rs控件中文显示乱码
Introduction
在用Rust运行sciter app 时,控件文字包含中文会出现乱码的问题。
How to Fix
- 如果在html页面里面,在
<head>
标签里加上meta
标签注明字符集utf-8
。
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
- Post title:sciter-rs控件中文显示乱码
- Post author:冬柠
- Create time:2021-06-18 12:51:00
- Post link:rust-sciter-utf8-support/
- Copyright Notice:All articles in this blog are licensed under BY-NC-SA unless stating additionally.