> > > and Folder title attribute is "string" not "ustring".
> > 
> > so change it.
> Hmm the 'title' property of Folder is not deletable.

But, ustring is not best solution for me.

Because, utf8 is not common encoding in japan.There are three
japanese encodings, and "euc-jp" is always used for web
application.Native python string is only type for using "euc-jp"

So, I need to use string type for japanese in zope2.6 very much.

I read property and zpublisher source code, and then I found resolution
in my own way.

------------------ OFS/dtml/properties.dtml ----------------------

 about 2 line

 <dtml-if "this().getProperty('management_page_charset','utf-8')=='utf-8'"><dtml-var 
"u' '"></dtml-if>

 about 250 line

  <td colspan=2 align="left" valign="top">
  <dtml-if "this().getProperty('management_page_charset','utf-8')=='utf-8'">
    <input type="text" name="value:utf8:ustring" size="30" />
    <input type="text" name="value:string" size="30" />


This code avoid to encode non latin-1 encoding charctor to latin-1.
And it can use unicode without interruption.

ofcourse, it also needs to implement this logic in other input form
tags like text or lines field and so on.

I hope to solve this problem before zope2.6 release.This is really
important things for i18n.

Sorry to my bad English.

Thank you very much.

Yusei Tahara                    "So it goes"

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to