Summary | templates/calendars.inc: when using ISO-8859-1 |
Queue | Kronolith |
Queue Version | 2.1.2 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | |
Requester | patrick.abiven (at) apitech (dot) fr |
Created | 09/15/2006 (6886 days ago) |
Due | |
Updated | 09/17/2006 (6884 days ago) |
Assigned | |
Resolved | 09/17/2006 (6884 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ templates/calendars.inc: when using ISO-8859-1
Queue ⇒ Kronolith
Creating a new calendar with a name containing french accents raises
an issue when we trying to select it in the share dropdownlist.
kronolith/templates/calendars.inc uses rawurlencode() to initialize
the fields array, and decodeURIComponent() to extract value from this
array. When the charset is not utf-8, this seems to be incorrect.
Instead of using rawurlencode (), we can use encodeURIComponent():
- "<?php echo rawurlencode($cal->get('name')) ?>,
+encodeURIComponent("<?php echo $cal->get ('name') ?>"),
Thanks for your advises
Regards
Patrick