I use the svn trunk so I changed the .htacces file and it works fine.
Thanks!
Regards
Guenther
grigri wrote:
> Check your core version. TextHelper was updated to use mb_* functions
> in #7842. I checked with your specific example and it works fine.
>
> https://trac.cakephp.org/changeset/7842/b
What returns?
2008/12/9 Günther Theilen <[EMAIL PROTECTED]>
>
> Hi,
>
> I have a problem with truncate() and German umlauts (äöü).
> (The DB and the php code is in utf-8)
>
> $test = "xäx";
> debug ($text->truncate($test, 9));
>
> I would expect it to return
> xä...
> but it returns
Check your core version. TextHelper was updated to use mb_* functions
in #7842. I checked with your specific example and it works fine.
https://trac.cakephp.org/changeset/7842/branches/1.2.x.x/cake/libs/view/helpers/text.php
If you can't upgrade you can try turning on function overloading: add
t
Hi,
I have a problem with truncate() and German umlauts (äöü).
(The DB and the php code is in utf-8)
$test = "xäx";
debug ($text->truncate($test, 9));
I would expect it to return
xä...
but it returns
x?...
Bug or feature?
Regards
Guenther
--~--~-~--~~~