View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] CK Editor and accents - ProjeQtOr
 
 

[SOLVED] CK Editor and accents

More
14 Mar 2018 12:18 #1 by bvd
CK Editor and accents was created by bvd
Hi,
I use last version base on mysql and php.

All is fine with charset utf-8 but ck-editor and dojo editor seems to not "understand" the UTF-8 charset.

How do I force editor to put accents in the right way ?

Here is a capture of the result in mysql :
- the first fiel was populated without ckeditor --> result good
- the second field is poupaled with ckeditor ---> bad


Regards,
Attachments:

Please Log in or Create an account to join the conversation.

More
14 Mar 2018 12:25 #2 by babynus
Replied by babynus on topic CK Editor and accents
Hi,

CK-Editor is an HTML editor, so to preserve compatibility it translates accentuated characters into their html equivalent.
It is not an issue, they will correctly be displayed.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
14 Mar 2018 13:50 #3 by bvd
Replied by bvd on topic CK Editor and accents
Hi,

Thank you for your answer.

I should bette explain the case.

Accents are correctly displayed in the fields when I open an activity.

But they are not correctly displayed when I view a report (activity synthesis) :


Is it a problem with reporting page generation code ?
Attachments:

Please Log in or Create an account to join the conversation.

More
14 Mar 2018 15:58 #4 by babynus
Replied by babynus on topic CK Editor and accents
OK,
This is easily fixed replacing line 237 in report/joblist.php from
echo '<td class="reportTableLineHeader">' . mb_strtoupper($activity->description, 'UTF-8') . '</td>';
to
echo '<td class="reportTableLineHeader">' . $activity->description . '</td>';

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
16 Mar 2018 18:50 #5 by bvd
Replied by bvd on topic CK Editor and accents
Hi,

Thanks, It works great !

Regards

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.046 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.