瀏覽代碼

seems we should default to utf-8 these days

David Rose 14 年之前
父節點
當前提交
4496febc73
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dtool/src/prc/configPageManager.cxx

+ 1 - 1
dtool/src/prc/configPageManager.cxx

@@ -687,7 +687,7 @@ config_initialized() {
 
 
   // Also set up some other low-level things.
   // Also set up some other low-level things.
   ConfigVariableEnum<TextEncoder::Encoding> text_encoding
   ConfigVariableEnum<TextEncoder::Encoding> text_encoding
-    ("text-encoding", TextEncoder::E_iso8859,
+    ("text-encoding", TextEncoder::E_utf8,
      PRC_DESC("Specifies how international characters are represented in strings "
      PRC_DESC("Specifies how international characters are represented in strings "
               "of 8-byte characters presented to Panda.  See TextEncoder::set_encoding()."));
               "of 8-byte characters presented to Panda.  See TextEncoder::set_encoding()."));
   TextEncoder::set_default_encoding(text_encoding);
   TextEncoder::set_default_encoding(text_encoding);