Bug Encoding Cdetailview Name

Hi all,

I have a problem of encoding into CDetailView name




array(

            'name' => 'nonconformité',

            'type'=>'raw',

            'value' => CHtml::link($model->traveler->getNumberDiscrepancies($model->id),array('discrepancy/index',"issueId"=>$model->id))

        ),



It show :

Nonconformit��

EDIT : The same issue :

http://www.yiiframework.com/forum/index.php/topic/46748-a-bug-of-encoding/

If I try ‘header’ instead of ‘name’ it show nothing

Thanks

You issue is about CDetailView while the one you linked is about CGridView.

CDetailView has no header.

For CDetailView you have to use ‘label’ instead.

Thanks it works