projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ebc0bb
)
po plugin: force utf-8 encoding in POT files
author
intrigeri
<intrigeri@boum.org>
Sun, 2 Nov 2008 20:35:52 +0000
(21:35 +0100)
committer
intrigeri
<intrigeri@boum.org>
Sun, 2 Nov 2008 20:35:52 +0000
(21:35 +0100)
Signed-off-by: intrigeri <intrigeri@boum.org>
IkiWiki/Plugin/po.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/po.pm
b/IkiWiki/Plugin/po.pm
index 0902322e31be9fbe5d41dba47fe75e3384f37e48..59d938d821151a1f9f0ec3bac27c1a18f8c406ec 100644
(file)
--- 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);