-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magento Widgets only support Latin1 charset? #5708
Comments
I then thought that I could easily enough work around that by inserting the Chinese characters in the source view and not using the editor view. That works at first, and when I save the page I can see the correct result on the frontend. However, the next time I open the page content in the backend, I get an error popup saying
Now when I look at the content, my images on the same page are broken (part of their code is missing) as follows: Expected:
Actual:
|
Ah yes, looks like #4232 is pretty much the same issue. |
This is a very serious problem for us, because due to this we cannot allow our client to edit the home page of their own website since they would inevitably break it. This is hard to explain to our clients. |
@pantaoran Issue is fixed in 54df23a. I checked it's not reproachable any more. |
Sorry but I cannot confirm this. I made the changes from the commit that you pointed to: The problem that I described in my first post here is not fixed. If I add Chinese to the widget I still end up with meaningless Latin characters instead. The problem described in my second post is also not fixed: if I add Chinese to the source without using the wysiwyg and save it still breaks my page like I described. |
@pantaoran |
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
2.1.0
branch.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"}}
The text was updated successfully, but these errors were encountered: