0

How to support DBCS?

asked 2006-04-25 08:15:31 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3701884

By: nobody

Hi all,

How to enable ZK to support DBCS? I tried to modify the hello.zul file and F5.
But I got such an error:

------------------


HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

com.potix.lang.SystemException: org.xml.sax.SAXParseException: Invalid byte
1 of 1-byte UTF-8 sequence.
sun.reflect.GeneratedConstructorAccessor17.newInstance(Unknown Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor
AccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
com.potix.lang.Classes.newInstance(Classes.java:81)
com.potix.lang.Exceptions.wrap(Exceptions.java:164)
com.potix.lang.SystemException$Aide.wrap(SystemException.java:49)
com.potix.util.resource.ResourceCache.get(ResourceCache.java:139)
com.potix.web.util.resource.ResourceCaches.get(ResourceCaches.java:123)
com.potix.zk.ui.http.Definitions.getPageDefinition(Definitions.java:56)
com.potix.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:300)
com.potix.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:282)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)



Any advice, pls?

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2006-04-25 08:17:12 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3701887

By: nobody

I use the following code for the hello.zul file.

----------------------------

<?xml version="1.0" encoding="UTF-8"?>

<!--
hello.zul

{{IS_NOTE
$Id: hello.zul,v 1.1 2006/03/24 10:06:05 tomyeh Exp $
Purpose:

Description:

History:
Thu Mar 23 21:03:20 2006, Created by [email protected]
}}IS_NOTE

Copyright (C) 2006 Potix Corporation. All Rights Reserved.

{{IS_RIGHT
}}IS_RIGHT
-->
<window title="My First window" border="normal" width="200px">
Hello, Yes (DBCS text goes here)!
</window>


link publish delete flag offensive edit

answered 2006-04-25 09:31:03 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3701983

By: nobody

I found the chapter 10 of Devloper Guide describes the solution. It works now!

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2006-04-25 08:15:31 +0800

Seen: 242 times

Last updated: Apr 25 '06

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More