Hi..
I think I came across a bug while developing with 1.2.0.5427alpha. I
didn't want to post this on the trac before I was sure.
Here's my problem...
I'm developing an application, actually a simple wiki where I tried to
get the page name as a parameter. So if i wanted to get a page named 'My
page' I try to access it like 'wiki/display/My_page'. This works when
there are no non-ASCII characters in the page name. But when I try
access with UTF-8 characters in the parameter like ğ, ü, ş, i, ö, ç, ...
I can't access those pages. Non ASCII characters seems to get deleted.
I wrote a little test controller where the problem can be easily seen..
char_tests_controller.php
<?php
class CharTestsController extends AppController {
var $name = 'CharTests';
var $uses = Array();
function test($parameter=null){
if($parameter) $this->set('parameter',$parameter);
else $this->set('parameter',"No parameter!?!");
return;
}
}
?>
test.ctp
<?
echo $parameter;
?>
try "/char_tests/test/paremeter test" and "parameter test" comes up.
then try "char_tests/test/öçşğü" and "No parameter!?!" comes up where it
should display "öçşğü"
Any comments appreciated...
Thanks...
Burak
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---