[Logo] Forums for GrailsFlow, Weceem, XSLfast
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Weceem support the Chinese  XML
Forum Index » Weceem Forum
Author Message
hy0228



Joined: 21/06/2009 19:30:01
Messages: 5
Offline

Hi,

Weceem Template content Set encoding, support for Chinese
[Email]
marcpalmer



Joined: 04/06/2009 13:36:35
Messages: 303
Location: UK
Offline

Hello,

Thanks for getting in touch. Can you clarify - is your problem that you enter Chinese text into the content editor in Admin but that this does not render correctly when people view your site?

Or is there some other problem?

It should be working ok but perhaps it is not setting the encoding as UTF-8. Also what encoding your Template sets in the meta tags may be an issue here.

If you give us some more detailed information perhaps we can help.

Thanks

- -
Twitter: wangjammer5
Blog: http://www.anyware.co.uk
Grails plugins: http://www.grailsrocks.com
[WWW]
hy0228



Joined: 21/06/2009 19:30:01
Messages: 5
Offline

OK,does not know

def groovyTemplate = engine.createTemplate(template.content , template.title)




This message was edited 7 times. Last update was at 19/08/2009 18:15:02

[Email]
marcpalmer



Joined: 04/06/2009 13:36:35
Messages: 303
Location: UK
Offline

OK so you mean that when you create a Template, when it is loaded and rendered by Weceem it is not doing so with the correct encoding.

This seems strange as it should be using UTF-8 throughout. Are you trying to set a specific encoding using a GSP directive in the template? That may not be supported.

It's difficult to debug these kinds of encoding problems without as much detail as possible.

1) What does your template contain - can you produce a simple 5-line example chinese template for us
2) What encoding are you trying to use for your template. I'm trying to work out if you are using the GSP directive to set the page encoding to something other than UTF-8, and whether or not FCK editor is submitting data to Weceem as UTF-8 or some other encoding
3) What are the actual effects you are seeing of the encoding being incorrect? Are you seeing ? ? ??? ??? ??? in your output, or bad binary chars etc?
4) Please provide an export of a test space written in Chinese and a graphic of what the output should look like

- -
Twitter: wangjammer5
Blog: http://www.anyware.co.uk
Grails plugins: http://www.grailsrocks.com
[WWW]
hy0228



Joined: 21/06/2009 19:30:01
Messages: 5
Offline

Thanks for the reply.now have it picking up a simple 5-line example
main( /main - Template)



This message was edited 2 times. Last update was at 20/08/2009 16:01:35

[Email]
 
Forum Index » Weceem Forum
Go to:   
Powered by JForum 2.1.8 © JForum Team