diff options
author | Kjell Ahlstedt <kjell.ahlstedt@bredband.net> | 2011-03-11 08:45:12 +0100 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2011-03-11 09:27:46 +0100 |
commit | 0beb94336a9f82619eb1ff01fc0b5904387a455e (patch) | |
tree | b18aa0ac718c248ab5b77072eb4d093cb3ff32b1 | |
parent | 158d2cb186fda90faa097ffa4e401c199c44660b (diff) | |
download | glibmm-0beb94336a9f82619eb1ff01fc0b5904387a455e.tar.gz |
Tell gmmproc that it reads and writes UTF-8 files.
* tools/pm/GtkDefs.pm:
* tools/pm/Output.pm:
* tools/pm/WrapParser.pm: Add 'use open IO => ":utf8";'. Bug #644037
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | tools/pm/GtkDefs.pm | 1 | ||||
-rw-r--r-- | tools/pm/Output.pm | 4 | ||||
-rw-r--r-- | tools/pm/WrapParser.pm | 2 |
4 files changed, 14 insertions, 1 deletions
@@ -1,3 +1,11 @@ +2011-03-11 Kjell Ahlstedt <kjell.ahlstedt@bredband.net> + + Tell gmmproc that it reads and writes UTF-8 files. + + * tools/pm/GtkDefs.pm: + * tools/pm/Output.pm: + * tools/pm/WrapParser.pm: Add 'use open IO => ":utf8";'. Bug #644037 + 2011-03-09 Murray Cumming <murrayc@murrayc.com> FileInfo: Add TODOs about using ustring instead of std::string. diff --git a/tools/pm/GtkDefs.pm b/tools/pm/GtkDefs.pm index b5a3fe18..f665099c 100644 --- a/tools/pm/GtkDefs.pm +++ b/tools/pm/GtkDefs.pm @@ -19,6 +19,7 @@ package GtkDefs; use strict; use warnings; +use open IO => ":utf8"; use Util; use Enum; diff --git a/tools/pm/Output.pm b/tools/pm/Output.pm index b08117dd..31fbf07e 100644 --- a/tools/pm/Output.pm +++ b/tools/pm/Output.pm @@ -18,6 +18,8 @@ # package Output; use strict; +use open IO => ":utf8"; + BEGIN { @Namespace::ISA=qw(main); } # $objOutputter new() @@ -665,7 +667,7 @@ sub write_sections_to_files() open(INPUT, '<', "$$self{tmpdir}/gtkmmproc_$$.g2"); # $$ is the process ID. - # open tempory file for each section + # open temporary file for each section open(OUTPUT_H, '>', "$fname_h.tmp"); open(OUTPUT_PH, '>', "$fname_ph.tmp"); open(OUTPUT_CC, '>', "$fname_cc.tmp"); diff --git a/tools/pm/WrapParser.pm b/tools/pm/WrapParser.pm index b4a12c3e..536341d4 100644 --- a/tools/pm/WrapParser.pm +++ b/tools/pm/WrapParser.pm @@ -19,6 +19,8 @@ package WrapParser; use strict; use warnings; +use open IO => ":utf8"; + use Util; use GtkDefs; use Function; |