diff options
author | intrigeri <intrigeri@boum.org> | 2008-11-02 21:35:52 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2008-11-02 21:35:52 +0100 |
commit | 773de05a7a1ee68d2bed173367cf5e716884945a (patch) | |
tree | 136190f5b661086a4e5f8cd70c1048607a5dea3e /IkiWiki/Plugin | |
parent | 2ebc0bb82dd907b6c0eaa39441378cb3bd8152d5 (diff) |
po plugin: force utf-8 encoding in POT files
Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/po.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm index 0902322e3..59d938d82 100644 --- a/IkiWiki/Plugin/po.pm +++ b/IkiWiki/Plugin/po.pm @@ -134,6 +134,7 @@ sub refreshpot ($) { #{{{ # compulsory since this module prevents us from using the porefs option. my %po_options = ('porefs' => 'none'); $doc->{TT}{po_out}=Locale::Po4a::Po->new(\%po_options); + $doc->{TT}{po_out}->set_charset('utf-8'); # do the actual work $doc->parse; $doc->writepo($potfile); |