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 "Andreas Schamberger (JIRA)" <ji...@apache.org> on 2011/01/02 12:10:45 UTC

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

     [ https://issues.apache.org/jira/browse/ZETACOMP-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Schamberger updated ZETACOMP-15:
----------------------------------------

    Attachment: test.php
                string_functions.diff
                string_code.diff

> 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_functions.diff, test.php, 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.
-
You can reply to this email to add a comment to the issue online.