diff options
Diffstat (limited to 'chrome/tools/convert_dict/aff_reader.cc')
-rw-r--r-- | chrome/tools/convert_dict/aff_reader.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/tools/convert_dict/aff_reader.cc b/chrome/tools/convert_dict/aff_reader.cc index ea7e2a8..767ba92 100644 --- a/chrome/tools/convert_dict/aff_reader.cc +++ b/chrome/tools/convert_dict/aff_reader.cc @@ -48,7 +48,8 @@ void CollapseDuplicateSpaces(std::string* str) { AffReader::AffReader(const std::string& filename) : has_indexed_affixes_(false) { - file_ = file_util::OpenFile(filename, "r"); + FilePath path = FilePath::FromWStringHack(ASCIIToWide(filename)); + file_ = file_util::OpenFile(path, "r"); // Default to Latin1 in case the file doesn't specify it. encoding_ = "ISO8859-1"; |