Skip to content

Commit

Permalink
dxf export: fix encoding for japanese
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 16, 2015
1 parent 07ea41f commit ce0fd7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/dxf/qgsdxfexport.cpp
Expand Up @@ -316,7 +316,7 @@ const char *QgsDxfExport::mDxfEncodings[][2] =
{ "8859_7", "ISO-8859-7" },
{ "8859_8", "ISO-8859-8" },
{ "8859_9", "ISO-8859-9" },
// { "DOS437", "CP850" },
// { "DOS437", "" },
{ "DOS850", "CP850" },
// { "DOS852", "" },
// { "DOS855", "" },
Expand All @@ -343,7 +343,7 @@ const char *QgsDxfExport::mDxfEncodings[][2] =
{ "ANSI_1256", "CP1256" },
{ "ANSI_1257", "CP1257" },
{ "ANSI_874", "CP874" },
// { "ANSI_932", "" },
{ "ANSI_932", "CP932" },
{ "ANSI_936", "CP936" },
{ "ANSI_949", "cp949" },
{ "ANSI_950", "CP950" },
Expand Down

1 comment on commit ce0fd7a

@minorua
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jef-n: I'm sorry I led you to misunderstanding. Maybe my explanation was insufficient. CP932 is not available in Qt. So please use Shift_JIS instead. The Shift_JIS codec in Qt can handle all characters in the CP932 character set.

Please sign in to comment.