Encoding problems with dgettext() and domain-related functions

Bug #1287597 reported by Christophe SAUVEUR
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php-gettext
New
Undecided
Unassigned

Bug Description

While using php-gettext, I encountered some issues with specific domain encoding. dgettext() did not return the correct encoding for the specified domain.

The reason is the _encode() function uses always the default domain (set by textdomain()) and does not consider the domain specified to dgettext().
You can find attached a diff patch file which fixes this issue.

Revision history for this message
Christophe SAUVEUR (christophe-6) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.