Forum Problems Installing LAMS: Re: Re: Integration Validate Problem


 
Search: 

6: Re: Re: Integration Validate Problem
In response to 2 08/23/09 04:03 PM
[ Reply | Forward ]
Hi Yan,

I have figured out what causes this encoding problem. Go to your moodle/mod/lamstwo folder and in the lib.php file, go to line 256 and comment out this line:

// $xml = utf8_encode($xml);


It seems that we were utf-8 encoding twice.

Once you comment this out, it should work no problems.

Thanks,

Ernie

Posted by Ernie Ghiglione

10: Re: Re: Re: Integration Validate Problem
By: Yan Xu
In response to 6 08/23/09 07:06 PM
[ Reply | Forward ]
Oh, Ernie
$xml = utf8_encode($xml); I just found only one in the lib.php.
it encoded only once on my sever!

Posted by Yan Xu

12: Re: Re: Re: Integration Validate Problem
By: Yan Xu
In response to 6 08/23/09 07:12 PM
[ Reply | Forward ]
Hi,
I comment out this line:

// $xml = utf8_encode($xml);

and no irrecognizable code now!
Thanks very much! Ernie!

Posted by Yan Xu

Reply to first post on this page
Back to Problems Installing LAMS