Description
I'm having trouble using Chinese titles in my widgets that I use inside static CMS pages. My Magento 2.1.0 is highly customized and I don't really have time to install a stock version right now, so I'm reporting this anyway, hoping that someone could try and reproduce it since the steps are very simple.
The real problem that I have is more complex than this, but let's start here.
Steps to reproduce
- Install Magento from
2.1.0
branch. - Login to backend, navigate to Content -> Pages
- Open an existing CMS page (or create a new one)
- Make sure the TinyMCE editor is showing
- Insert a widget with a customizable text field, for example "Catalog Category Link"
- Set the "Anchor Custom Title" to "中文"
- Toggle "Show / Hide editor" to display raw source
Expected result
Chinese characters
{{widget type="Magento\Catalog\Block\Category\Widget\Link" anchor_text="hello" title="中文��" template="category/widget/link/link_inline.phtml" id_path="category/5"}}
(Apparently github also has some issue displaying this correctly here?)
Actual result
Garbled Latin1 characters
{{widget type="Magento\Catalog\Block\Category\Widget\Link" anchor_text="hello" title="䏿��" template="category/widget/link/link_inline.phtml" id_path="category/5"}}