Re: Re: [Zope] how to use chinese character in zope 2.8.7

2006-07-29 Thread KE Liew

= = = = = = = = = = = = = = = = = = = =
i followed you but have no effect.

and  i find a fact that  chinese character in zope not work  but it in 
plone on same zope work well.

what reasons?

do you have another method?


Can you please check your Apache configuration on whether UTF-8 is
enabled. Possibly FC5 needs to be enabled for UTF-8.


Regards,

Kwang
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] how to use chinese character in zope 2.8.7

2006-07-29 Thread Tino Wildenhain
Chris Withers wrote:
 Mark Barratt wrote:
 2: In the root of the Zope Management Interface, choose the properties
 tab. In it, add a new property called MANAGEMENT_PAGE_CHARSET of type
 'string' with value utf-8.
 
 Actually, for hysterical raisins, this needs to be UTF-8 rather than
 utf-8 in order for the unicode property types to make themselves apparent.
 
 Aside from this, use unicode for everything...


Btw, still waiting for comments, thumbs down/up for:

http://www.zope.org/Collectors/Zope/2148

cheers
Tino
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] how to use chinese character in zope 2.8.7

2006-07-29 Thread Mark Barratt
Tino Wildenhain wrote:

 Btw, still waiting for comments, thumbs down/up for:
 
 http://www.zope.org/Collectors/Zope/2148

you have my +1 recorded. Setting the management_page_charset property is
an obscure and ill-documented fix for a common problem, which cost me a
lot of bafflement and time to resolve.

-- 
Mark Barratt
Text Matters

Information design: we help explain things using
language | design | systems | process improvement
__
phone +44 (0)118 986 8313  email [EMAIL PROTECTED]
skype mark_barratt  web http://www.textmatters.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: Re: [Zope] how to use chinese character in zope 2.8.7

2006-07-28 Thread LYNN
Mark Barratt,您好!



=== 2006-07-27 20:08:27 您在来信中写道:===


LYNN wrote:
 zope,hi!
 
  i use zope2.8.7 in FC5 chinese edition, in ZMI i can input chinese ,but 
 when i saved,the chinese character change to $#,i want to know how can i 
  solve it.when  chinese character is a part of URL,it prompt me invalid 
 URL.
 
 thinks!

Hi Lynn

You need to set the Zope character-encoding to a Unicode encoding. I use
utf-8 and it works. UTF-8 is not very efficient for Chinese but I do
know it works! You do this two places in Zope:

1: in the zope.conf there should be a line

default-zpublisher-encoding utf-8

If there isn't, add it. If it says something else, change it.

2: In the root of the Zope Management Interface, choose the properties
tab. In it, add a new property called MANAGEMENT_PAGE_CHARSET of type
'string' with value utf-8.

3: restart Zope

This assumes that the rest of your site infrastructure is OK, including
Apache encoding.

best


-- 
Mark Barratt
Text Matters

Information design: we help explain things using
language | design | systems | process improvement
__
phone +44 (0)118 986 8313  email [EMAIL PROTECTED]
web http://www.textmatters.com


= = = = = = = = = = = = = = = = = = = =
i followed you but have no effect.

and  i find a fact that  chinese character in zope not work  but it in 
plone on same zope work well.

what reasons?

do you have another method?
 
LYNN
[EMAIL PROTECTED]
  2006-07-29

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] how to use chinese character in zope 2.8.7

2006-07-27 Thread LYNN
zope,hi!

i use zope2.8.7 in FC5 chinese edition, in ZMI i can input chinese ,but 
when i saved,the chinese character change to $#,i want to know how can i  
solve it.when  chinese character is a part of URL,it prompt me invalid URL.

thinks!


LYNN
[EMAIL PROTECTED]
  2006-07-27
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] how to use chinese character in zope 2.8.7

2006-07-27 Thread Mark Barratt
LYNN wrote:
 zope,hi!
 
   i use zope2.8.7 in FC5 chinese edition, in ZMI i can input chinese ,but 
 when i saved,the chinese character change to $#,i want to know how can i  
 solve it.when  chinese character is a part of URL,it prompt me invalid URL.
 
 thinks!

Hi Lynn

You need to set the Zope character-encoding to a Unicode encoding. I use
utf-8 and it works. UTF-8 is not very efficient for Chinese but I do
know it works! You do this two places in Zope:

1: in the zope.conf there should be a line

default-zpublisher-encoding utf-8

If there isn't, add it. If it says something else, change it.

2: In the root of the Zope Management Interface, choose the properties
tab. In it, add a new property called MANAGEMENT_PAGE_CHARSET of type
'string' with value utf-8.

3: restart Zope

This assumes that the rest of your site infrastructure is OK, including
Apache encoding.

best


-- 
Mark Barratt
Text Matters

Information design: we help explain things using
language | design | systems | process improvement
__
phone +44 (0)118 986 8313  email [EMAIL PROTECTED]
web http://www.textmatters.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] how to use chinese character in zope 2.8.7

2006-07-27 Thread Chris Withers
Mark Barratt wrote:
 2: In the root of the Zope Management Interface, choose the properties
 tab. In it, add a new property called MANAGEMENT_PAGE_CHARSET of type
 'string' with value utf-8.

Actually, for hysterical raisins, this needs to be UTF-8 rather than
utf-8 in order for the unicode property types to make themselves apparent.

Aside from this, use unicode for everything...

cheers,

Chris

-- 
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] how to use chinese character in zope 2.8.7

2006-07-27 Thread David H




Chris Withers wrote:

  Mark Barratt wrote:
  
  
2: In the root of the Zope Management Interface, choose the properties
tab. In it, add a new property called MANAGEMENT_PAGE_CHARSET of type
'string' with value utf-8.

  
  
Actually, for hysterical raisins, this needs to be UTF-8 rather than
utf-8 in order for the unicode property types to make themselves apparent.

Aside from this, use unicode for everything...

cheers,

Chris

  

Chris,
Just a correction: hysterical raisins are grapes.

 :-) 


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] how to use chinese character in zope 2.8.7

2006-07-27 Thread Andrew Milton
+---[ David H ]--
| Chris Withers wrote:
|
| Actually, for hysterical raisins, this needs to be UTF-8 rather than
| utf-8 in order for the unicode property types to make themselves apparent.
|
| Chris,
| Just a correction:  hysterical raisins are grapes.

Q: What's green and commutes?
A: An abelian grape.

Sorry Maths Geek Humour d8)

-- 
Andrew Milton
[EMAIL PROTECTED]
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] how to use chinese character in zope 2.8.7

2006-07-27 Thread David H

Andrew Milton wrote:


+---[ David H ]--
| Chris Withers wrote:
|
| Actually, for hysterical raisins, this needs to be UTF-8 rather than
| utf-8 in order for the unicode property types to make themselves apparent.
|
| Chris,
| Just a correction:  hysterical raisins are grapes.

Q: What's green and commutes?
A: An abelian grape.

Sorry Maths Geek Humour d8)

 


The grapes of math?  Ok this has to stop.


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )