zwsp in tinyMCE removed on saving

The support for Joomla 2.5 ended on December 31, 2014. Possible bugs in Joomla 2.5 will not be patched anymore. This forum has been closed. Please update your website to Joomla 3.x

Moderator: ooffick

Forum rules
Please use the official Bug Tracker to report a bug: https://issues.joomla.org
Locked
User avatar
hengsovann
Joomla! Explorer
Joomla! Explorer
Posts: 375
Joined: Fri Jul 10, 2009 4:00 am
Location: Cambodia
Contact:

zwsp in tinyMCE removed on saving

Post by hengsovann » Sun Aug 19, 2012 10:50 am

Joomla 2.5.6
Plug-in Manager: Editor - TinyMCE
Entity Encoding = Raw
or
Entity Encoding =Named
TinyMCE removed all zero width space on saving.

In Khmer language (Cambodian Language) we use zero width space to indicate word boundaries eg. "ខ្ញុំ​ទៅ​សាលា"="ខ្ញុំ​ទៅ​សាលា".

To prevent TinyMCE remove zwsp I have to set Entity Encoding = Numeric, but this setting made us difficult to read everything in numeric encoding when toggle editor mode .

I found a topic 2264 TinyMCE entities bug

Hope anyone could help and guide me step by step how to fix this with

Code: Select all

\plugins\editors\tinymce\tinymce.php
Thanks in advance!
Sovann Heng ហេង សុវណ្ណ getinside360.com
អរគុណ"​អាច​ជួយ​ជំរុញ​អ្នក​ដទៃ​​មាន​កម្លាំង​ចិត្ត​ក្នុង​ការ​ចែក​រំលែក
Khmer (CAMBODIA) Translation Team Coordinator អ្នក​សម្របសម្រួល​ក្រុម​បកប្រែ​ភាសា​ខ្មែរ​

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: zwsp in tinyMCE removed on saving

Post by infograf768 » Sat Sep 08, 2012 3:36 pm

1. How do you enter these spaces usually in text area?
Is there a way for you to enter them as unicode with your keyboard?
http://www.fileformat.info/info/unicode ... /index.htm

2. I guess you also have issues with the search function, or not?
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
hengsovann
Joomla! Explorer
Joomla! Explorer
Posts: 375
Joined: Fri Jul 10, 2009 4:00 am
Location: Cambodia
Contact:

Re: zwsp in tinyMCE removed on saving

Post by hengsovann » Tue Dec 11, 2012 2:42 am

I do apologize for late replying
infograf768 wrote:1. How do you enter these spaces usually in text area?
Is there a way for you to enter them as unicode with your keyboard?
http://www.fileformat.info/info/unicode ... /index.htm
we use anywhere not only in the text area.
Show result in google search will be different with or without zwsp
without: ហេងសុវណ្ណ
with zwsp between ហេង and សុវណ្ណ => ហេង​សុវណ្ណ
How we input the zwsp via keyboard? it is depend on the keyboard layout, but most of keyboard use "space bar" to input the "zwsp" ="​" because we use it very often the same as space in english.
infograf768 wrote: 2. I guess you also have issues with the search function, or not?
ឹwith or without the zwsp the search result will be different.

eg. "ហេងសុវណ្ណ" is not the same as "ហេង​សុវណ្ណ" it is like "HengSovann" is not the same as "Heng Sovann".
Sovann Heng ហេង សុវណ្ណ getinside360.com
អរគុណ"​អាច​ជួយ​ជំរុញ​អ្នក​ដទៃ​​មាន​កម្លាំង​ចិត្ត​ក្នុង​ការ​ចែក​រំលែក
Khmer (CAMBODIA) Translation Team Coordinator អ្នក​សម្របសម្រួល​ក្រុម​បកប្រែ​ភាសា​ខ្មែរ​

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: zwsp in tinyMCE removed on saving

Post by infograf768 » Thu Dec 13, 2012 6:16 pm

What happens when you use "No editor" ?
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group


Locked

Return to “Joomla! 2.5 Bug Reporting”