From feb9b277b59de3a44963a4aebc502037ef1f004e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 25 Sep 2008 13:52:30 +0000 Subject: (build_list) make sure --save-html-pages write UTF-8 files --- NEWS | 1 + control-center | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index d7df43b1..0b6ac334 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,5 @@ - make icon+text act as a single item for links +- make sure --save-html-pages write UTF-8 files Version 11.4 - 25 September 2008, Thierry Vignaud diff --git a/control-center b/control-center index 16cc4c1c..63af531a 100755 --- a/control-center +++ b/control-center @@ -892,7 +892,10 @@ foreach (@tree) { $page_count++; $string .= qq(); - output_p("/tmp/mcc/$i.html", $string) if $save_html; + if ($save_html) { + mkdir_p('/tmp/mcc'); + MDK::Common::File::output_utf8("/tmp/mcc/$i.html", $string); + } push @buttons, gtknew('Button', relief => 'none', child => gtknew('Label_Right', text_markup => qq($text), ellipsize => 'end'), -- cgit v1.2.1