Magento2: UTF-8 special character issue in widgets

Created on 19 Apr 2016  路  22Comments  路  Source: magento/magento2

Steps to reproduce

  1. Install Magento 2.0.4
  2. Add CMS Page Link or other widget type which accepts input parameters
  3. Enter Latvian UTF-8 special characters gl膩啪拧姆奴艈u r奴姆墨拧i in input parameter
  4. See video for details

    Expected result

  5. Widget is added correctly with UTF-8 characters

    Actual result

  6. Widget is added but UTF-8 special characters are broken

  7. Error is show when hiding editor, fixing characters manually and showing editor again
Ready for Work bug report

Most helpful comment

@mhauri 2.1.9 will be sooner. We will share our patch release roadmap soon. 2.1.6 will be security update, 2.1.7 will be fixes. But if the issue will have more votes, it may be sooner than 2.1.9. Use upvoting.

All 22 comments

Same issue. Maby any ideas about quickfix ?

@werdlv One way is to add widget using Insert widget not wysiwyg, error pop will show up, but on frontend content will be ok.

Hi @werdlv

Thank you for reporting. Looks like an issue with TinyMCE. I created internal ticket MAGETWO-52850 to investigate and fix.

We are nearly done fixing this issue and should be merged soon.

@piotrekkaminski FYI - still present in 2.1.0

Looks like my report in #5708 duplicates this older issue more or less. I didn't find this one when I searched...

is there any update on this issue?

Just now I've got the same error. Bug is not fixed (magento 2.1, installed - July 2016). I think it's TinyMCE configuration. Maybe, need to set "entity_encoding" to "raw" and it will not convert our utf8 characters to a "named entity"...

Idem. Still present in Magento EE 2.1 (installed in july 2016).

Still present in Magento CE 2.1.1

Issue is fixed in mainline (not 2.1.x)
https://github.com/magento/magento2/commit/54df23a

This issue will be delivered to 2.1.x in the scope of MAGETWO-57051

Would be great to get this released as soon as possible.

@piotrekkaminski Still present in 2.1.3, why wasn't this merged from develop into 2.1.3?

Still present in 2.1.4

The fix scheduled for 2.1.9

@maksek why so late, 2.1.5 will be a copyright update version only, but why not in 2.1.6?
What's the planned release cycle, based on the latest releases it's around 2 months between each release, so 2.1.9 will be 8 to 10 months away.

@mhauri 2.1.9 will be sooner. We will share our patch release roadmap soon. 2.1.6 will be security update, 2.1.7 will be fixes. But if the issue will have more votes, it may be sooner than 2.1.9. Use upvoting.

Relates to https://github.com/magento/magento2/issues/7249.
Commit where this has been fixed is referenced there too in case you want to patch this in your project

@maksek Is that promised patch release roadmap out yet? I would be very interested to see it.

Internal ticket for ver. 2.0 - MAGETWO-57816, for ver. 2.1 - MAGETWO-57051
It has been already fixed and will be available in one of nearest releases.

Internal ticket to track issue progress: MAGETWO-67621

Was this page helpful?
0 / 5 - 0 ratings