You are viewing a plain text version of this content. The canonical link for it is here.
Posted to zeta-issues@incubator.apache.org by "Jérôme Renard (JIRA)" <ji...@apache.org> on 2011/04/28 09:28:03 UTC

[jira] [Commented] (ZETACOMP-15) Template string functions are not multibyte safe

    [ https://issues.apache.org/jira/browse/ZETACOMP-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13026224#comment-13026224 ] 

Jérôme Renard commented on ZETACOMP-15:
---------------------------------------

https://reviews.apache.org/r/671/

> Template string functions are not multibyte safe
> ------------------------------------------------
>
>                 Key: ZETACOMP-15
>                 URL: https://issues.apache.org/jira/browse/ZETACOMP-15
>             Project: Zeta Components
>          Issue Type: Improvement
>          Components: Template
>            Reporter: Andreas Schamberger
>         Attachments: generate_unicode_tables.php, lower_to_upper.php, string_code.diff, string_function_test.php, string_functions.diff, upper_to_lower.php
>
>
> The template functions do not work with UTF-8 data as they only wrap the normal PHP functions. E.g. str_pad_left() does not work as expected.
> I attached the needed string functions. The remaining work is to replace the calls in the string_functions.php with these functions and replace substr/strlen with iconv_substr(), iconv_strlen()...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira