kevin-xw / rock-php

Automatically exported from code.google.com/p/rock-php
0 stars 0 forks source link

CAN NOT display chinese correctly. #205

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
既然是中文问题, 那用中文来描述吧 :)
1.列表数据, 中文不能正常显示
2.Text模式正常.

示例显示如附件图.

Web server nginx/1.2.0 
PHP version PHP 5.4.4 
PHP extension mongo/1.2.10 

Original issue reported on code.google.com by xsh...@justdn.com on 20 Jun 2012 at 4:14

Attachments:

GoogleCodeExporter commented 9 years ago
Same with Russian, after change php 5.3 to 5.4 :(

Original comment by Sautchen...@gmail.com on 18 Jul 2012 at 1:54

GoogleCodeExporter commented 9 years ago
use patch for utf8

Original comment by zen4...@gmail.com on 19 Jul 2012 at 10:01

Attachments:

GoogleCodeExporter commented 9 years ago
add below lines to /rockmongo/app/funs/functions.php, line 73:
--------------------------------------------------------------------
        $ord = ord( $char );
        if ( $ord >= 224 ) {
            $char .= $json[ $c + 1 ] . $json[ $c + 2 ];
            $c += 2;
        } else if ( $ord >= 192 ) {
            $char .= $json[ $c + 1 ];
            $c += 1;
        }

Original comment by zshen...@gmail.com on 25 Sep 2012 at 5:00

GoogleCodeExporter commented 9 years ago
已经在SVN|Git中修复,谢谢。

Original comment by iwind....@gmail.com on 3 Nov 2012 at 2:08

GoogleCodeExporter commented 9 years ago
可以在 http://rockmongo.com/downloads 下载最新的版本。

Original comment by iwind....@gmail.com on 25 Nov 2012 at 12:38