zmq175
V2EX  ›  PHP

PHPMYADMIN 中正常,自己的程序里面中文就乱码。。。

  •  
  •   zmq175 · Feb 17, 2015 · 3686 views
    This topic created in 4114 days ago, the information mentioned may be changed or developed.

    是utf8无误。。。就是中文全都变???。。。。不知道会是哪里的问题

    kslr
        1
    kslr  
       Feb 17, 2015
    真是太水了,请仔细检查,99%是编码问题!
    zts1993
        2
    zts1993  
       Feb 17, 2015 via Android
    三码合一要说多少次。。
    Tink
        3
    Tink  
    PRO
       Feb 17, 2015
    嗯嗯,肯定是编码
    konakona
        4
    konakona  
       Feb 17, 2015
    编码问题,请自行百度:
    http://www.jb51.net/article/23377.htm
    xuhaoyangx
        5
    xuhaoyangx  
       Feb 17, 2015
    @zts1993 三码合一笑尿=^=
    yangqi
        6
    yangqi  
       Feb 17, 2015
    程序代码没保存成utf8?
    mkeith
        7
    mkeith  
       Feb 17, 2015
    @zts1993 是系统,数据库,程序吗?
    twl007
        8
    twl007  
       Feb 17, 2015 via iPhone
    额 检查一下好的mbstring装了么……
    twl007
        9
    twl007  
       Feb 17, 2015 via iPhone
    额 检查一下php的mbstring装了么……
    rwalle
        10
    rwalle  
       Feb 17, 2015
    楼主,请用Google搜索“php mysql 乱码”
    imlonghao
        11
    imlonghao  
       Feb 17, 2015 via Android
    @Livid ,
    Should be moved to /go/monthly
    imydou
        12
    imydou  
       Feb 17, 2015
    set name utf8
    imydou
        13
    imydou  
       Feb 17, 2015
    @imydou names
    Mac
        14
    Mac  
       Feb 17, 2015
    终结此贴,请用notepad++等编辑器将你所有的php文件的编码转换成utf-8编码。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   877 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 53ms · UTC 22:05 · PVG 06:05 · LAX 15:05 · JFK 18:05
    ♥ Do have faith in what you're doing.