代码之家  ›  专栏  ›  技术社区  ›  Anand Shah

我用Perl中的字符替换了literal\xNN吗?

  •  0
  • Anand Shah  · 技术社区  · 17 年前

    \x92 和 \x93 我猜它代表单引号和双引号。

    DBI->quote 函数在将值写入文本文件之前转义特殊字符。我尝试过使用Encode::Encoder,但没有成功。两个表上的字符集都是 latin1 .

    3 回复  |  直到 17 年前
        1
  •  5
  •   mark4o    17 年前

    ISO Latin-1 Windows-1252 ,与Latin1相同,只是它在此范围内定义了其他字符(包括左/右引号)。

        2
  •  1
  •   exhuma    17 年前

    latin1 here 或 here ). 你是 你是 处理 ,您可以简单地删除它们。

        3
  •  0
  •   brian d foy    17 年前