bugphpGroupWare - Bugs: bug #14405, htmlentities and i18n in...


You are not allowed to post comments on this tracker with your current authentication level.

bug #14405: htmlentities and i18n in addressbook

Submitter:  Kent Tong <freemant>
Submitted:  Mon 05 Sep 2005 03:37:48 AM UTC
Item Group: Category:  addressbook
Severity:  3 - Normal Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  jarg Open/Closed:  Open
Component Version:  DEB Operating System:  GNU/Linux - Debian
Reproducibility:  Every Time Planned Release:  None
Fixed Release: 

Mon 12 Nov 2007 08:40:21 AM UTC, comment #3: 

The bug is still there in If you don't want to change to htmlspecialchars(), specify the correct charset to htmlentities(). For exmaple, I fixed the problem by replacing the calls to htmlentities() with :

   htmlentities($s, ENT_COMPAT, "BIG5");

Does it make sense to you? Thanks!

Kent Tong <freemant>
Wed 07 Sep 2005 01:17:53 PM UTC, comment #2: 

ok the fix seems valid



Caeies <Caeies>
Project Administrator
Wed 07 Sep 2005 12:56:16 PM UTC, comment #1: 


I'm not sure that the solution is the same ... for example in french Charset you get 'é' which should be escaped by htmlentities, but not by htmlspecialchars. Reading the php.net docs, it seems that BIG5 is supported by htmlentities ... So the problem is perhaps elsewhere ...



Caeies <Caeies>
Project Administrator
Mon 05 Sep 2005 03:37:48 AM UTC, original submission:  

This is the same bug as bug #4148. It is occuring in
the class.uiaddressbook.inc.php file. Please apply the
same solution provided in bug #4148.

Kent Tong <freemant>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by freemant (Posted a comment)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2005-09-07 Caeies Assigned toNone jarg

    Back to the top

    Powered by Savane 3.9