[pLog-svn] r5285 - in plog/branches/lifetype-1.2/class: data test/tests/data
Oscar Renalias
oscar at renalias.net
Sat Apr 7 17:32:34 EDT 2007
I guess that the last person who saved this file saved it as utf-8
while that specific test is created using iso-8859-1 data. Since this
is going to be pretty difficult to combine, I think that we should
create a utf-8 version and a non-utf-8 version of these tests, each
one in their separate file.
Oscar
On 7 Apr 2007, at 23:47, Jon Daley wrote:
> One interesting thing (at least to me since I don't know about all
> this encoding stuff) is that my brower is auto-detecting the
> runtests.php page as a UTF8 page, but if I force it to use
> ISO-8859-1, the output is a little different, and makes more sense
> to me.
>
> Error htmlDecode()-ing string: áé expected áé, actual áé in /home/
> jamal/www/class/test/tests/data/textfilter_test.class.php:118
>
> I think probably the problem is that if UTF8 is enabled the output
> is not just the two bytes, but is four bytes. So, in order to have
> the test pass in all circumstances, we would have to have an if
> (db_character_set == utf8) in the test, right?
>
>
> On Sat, 7 Apr 2007, Jon Daley wrote:
>
>> The last two htmldecode tests are currently failing for me. I
>> have my config db_character_set = 'utf8'. If I change it to be
>> 'utf7' ie. use the other path through htmldecode, it works fine.
>> Any ideas? Does the textfilter test currently work for people
>> who have the setting set to utf8?
>>
>> Error htmlDecode()-ing string: áé expected .., actual áé in
>> /class/data/textfilter_test.class.php:90
>>
>> expected .., actual áé in
>> /class/test/tests/data/textfilter_test.class.php:92
>>
>> Error htmlDecode()-ing string: äÜ expected .., actual äÜ in
>> /class/test/tests/data/textfilter_test.class.php:90
>>
>> expected .., actual äÜ in
>> /class/test/tests/data/textfilter_test.class.php:92
>
> --
> Jon Daley
> http://jon.limedaley.com/
>
> The difference between genius and stupidity
> is that genius has its limits.
> -- Anonymous_______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
More information about the pLog-svn
mailing list