Encoding problems with dgettext() and domain-related functions
Bug #1287597 reported by
Christophe SAUVEUR
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.
To post a comment you must log in.