代码之家  ›  专栏  ›  技术社区  ›  Johan Olsson

PHP DOM文档(UTF-8)

  •  0
  • Johan Olsson  · 技术社区  · 16 年前

    看起来好像我用过 utf8_encode() utf8_decode()

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
        <head>
            <meta http-equiv="content-type" content="text/html; charset=utf-8" />
            <title>Blabla></title>
        </head>
    
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <name>åäö</name>
    

    b_convert_encoding() CDATA 随着 htmlentities() default_charset = "utf-8"

    我该怎么办?

    1 回复  |  直到 13 年前
        1
  •  0
  •   Johan Olsson    16 年前

    推荐文章