incubator-zeta-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Schamberger (JIRA)" <j...@apache.org>
Subject [jira] Updated: (ZETACOMP-15) Template string functions are not multibyte safe
Date Sat, 15 Jan 2011 14:32:47 GMT

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

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

    Attachment:     (was: test.php)

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


Mime
View raw message