Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

easerver lost charactor !
I used EASERVER ver 5.1 51016,windows 2003 server chinese version
PB 10.0.1 6064

EASERVER codeset = utf8
jsp i set:

<%@ page language="java" pageEncoding="GB18030"  buffer="512kb" autoFlush="t
rue"
isThreadSafe="true" isErrorPage="false" contentType="text/html; charset=GB18
030" %>

when i generate the htmldw,
sometimes it will lost charactors,like :
...............
<TD CLASS=dwResult589 STYLE="; width:0.624in"><INPUT TYPE="text" NAME="sfwsy
s0101
_6" SIZE=8 MAXLENGTH=20 VALUE="010302" CLASS=dwResult589 TABINDEX=55 STYLE="
;
width:0.624in" onFocus="{dwResult. itemGainFocus(6,1,th
is,dwResult.gobs.sfwsy
s0101);
dwResult. selectControlContent
(this);}" onClick="{var ret;  ret= dwResult.ite
mClicked
(6,1,'sfwsys0101'); return ret;}" onChange="{this.bChanged = true;}"
onkeypress="DW_EditKeyPressed(-1)" onBlur="{dwResult.itemLoseFocus (this);}"
></TD>
<TD CLASS=dwResult589 STYLE="; width:1.344in" COLSPAN=2><INPUT TYPE="text"
NAME="sfwsys0102_6" SIZE=17 MAXLENGTH=30 VALUE="010302" CLASS=dwResult589 TA
BINDEX=56
STYLE="; width:1.344in" onFocus="{dwResult.itemGainFocus
(6,2,this,dwResult.gobs.sfwsys0102); dwResult. selectControlContent
(this);}"
onClick="{var ret;  ret= dwResult. itemClicked(6,2,'sfw
sys0102'); return ret;
}"
onChange="{this.bChanged = true;}" onkeypress="DW_EditKeyPressed(-1)"
onBlur="{dwResult.itemLoseFocus (this);}"></TD>

<TD CLASS=dwResult589 STYLE="; width:0.458in"><INPUT TYPE="text" NAME="sfwsy
s0103
_6" SIZE=6 MAXLENGTH=20 VALUE="0103" CLASS=dwResult589 TABINDEX=57 STYLE=";
width:0.458in" onFocus="{dwResult. itemGainFocus(6,3,th
is,dwResult.gobs.sfwsy
s0103);
dwResult. selectControlContent
(this);}" onClick="{var ret;  ret= dwResult.ite
mClicked
(6,3,'sfwsys0103'); return ret;}" onChange={this.bChanged = true;}"
onkeypress="DW_EditKeyPressed(-1)" onBlur="{dwResult.itemLoseFocus (this);}"
></TD>
<TD CLASS=dwResult589 STYLE="; width:0.260in"><INPUT TYPE="text" NAME="sfwsy
s0104
_6" SIZE=3 VALUE="" CLASS=dwResult589 TABINDEX=58 STYLE="; width:0.260in"
onFocus="{dwResult. itemGainFocus(6,4,th
is,dwResult.gobs.sfwsys0104);
dwResult. selectControlContent
(this);}" onClick="{var ret;  ret= dwResult.ite
mClicked
(6,4,'sfwsys0104'); return ret;}" onChange="{this.bChanged = true;}"
onkeypress="DW_EditKeyPressed(-1)" onBlur="{dwResult.itemLoseFocus (this);}"
></TD>
.................
you see the 4th row:

<TD CLASS=dwResult589 STYLE="; width:0.458in"><INPUT TYPE="text" NAME="sfwsy
s0103
_6" SIZE=6 MAXLENGTH=20 VALUE="0103" CLASS=dwResult589 TABINDEX=57 STYLE=";
width:0.458in" onFocus="{dwResult. itemGainFocus(6,3,th
is,dwResult.gobs.sfwsy
s0103);
dwResult. selectControlContent
(this);}" onClick="{var ret;  ret= dwResult.ite
mClicked
(6,3,'sfwsys0103'); return ret;}" onChange={this.bChanged = true;}"
onkeypress="DW_EditKeyPressed(-1)" onBlur="{dwResult.itemLoseFocus (this);}"
></TD>


^^
after the word 'onChange=',it lost '"', and sometime it will lost another ch
aractor
at other position!
how can I do,help me!please!

sunjie

Report this thread to moderator Post Follow-up to this message
Old Post
sj
04-07-05 12:03 PM


Re: easerver lost charactor !
1. Why is your character set not utf-8?

2. What version of PowerBuilder are you using?  You're pretty much gonna
have to use PowerBuilder 10.0 with a PB10 web dw component to make this
work.


Carson

 ____________________
____________

Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com

Take PowerBuilder Applications to the Web Today with Cynergy EAF 4.0
http://www.cynergysystems.com/public/products/eaf



"sj" <sunjie@kali.com.cn> wrote in message
news:MPG. 1cbf15f3ef11253e9896
80@forums.sybase.com...
>I used EASERVER ver 5.1 51016,windows 2003 server chinese version
> PB 10.0.1 6064
>
> EASERVER codeset = utf8
> jsp i set:
>
> <%@ page language="java" pageEncoding="GB18030"  buffer="512kb"
> autoFlush="true"
> isThreadSafe="true" isErrorPage="false" contentType="text/html;
> charset=GB18030" %>
>
> when i generate the htmldw,
> sometimes it will lost charactors,like :
> ...............
>    <TD CLASS=dwResult589 STYLE="; width:0.624in"><INPUT TYPE="text"
> NAME="sfwsys0101
> _6" SIZE=8 MAXLENGTH=20 VALUE="010302" CLASS=dwResult589 TABINDEX=55
> STYLE=";
> width:0.624in"
> onFocus="{dwResult. itemGainFocus(6,1,th
is,dwResult.gobs.sfwsys0101);
> dwResult. selectControlContent
(this);}" onClick="{var ret;  ret=
> dwResult.itemClicked
> (6,1,'sfwsys0101'); return ret;}" onChange="{this.bChanged = true;}"
> onkeypress="DW_EditKeyPressed(-1)" onBlur="{dwResult.itemLoseFocus
> (this);}"></TD>
>    <TD CLASS=dwResult589 STYLE="; width:1.344in" COLSPAN=2><INPUT
> TYPE="text"
> NAME="sfwsys0102_6" SIZE=17 MAXLENGTH=30 VALUE="010302" CLASS=dwResult589
> TABINDEX=56
> STYLE="; width:1.344in" onFocus="{dwResult.itemGainFocus
> (6,2,this,dwResult.gobs.sfwsys0102);
> dwResult. selectControlContent
(this);}"
> onClick="{var ret;  ret= dwResult. itemClicked(6,2,'sfw
sys0102'); return
> ret;}"
> onChange="{this.bChanged = true;}" onkeypress="DW_EditKeyPressed(-1)"
> onBlur="{dwResult.itemLoseFocus (this);}"></TD>
>
>    <TD CLASS=dwResult589 STYLE="; width:0.458in"><INPUT TYPE="text"
> NAME="sfwsys0103
> _6" SIZE=6 MAXLENGTH=20 VALUE="0103" CLASS=dwResult589 TABINDEX=57
> STYLE=";
> width:0.458in"
> onFocus="{dwResult. itemGainFocus(6,3,th
is,dwResult.gobs.sfwsys0103);
> dwResult. selectControlContent
(this);}" onClick="{var ret;  ret=
> dwResult.itemClicked
> (6,3,'sfwsys0103'); return ret;}" onChange={this.bChanged = true;}"
> onkeypress="DW_EditKeyPressed(-1)" onBlur="{dwResult.itemLoseFocus
> (this);}"></TD>
>    <TD CLASS=dwResult589 STYLE="; width:0.260in"><INPUT TYPE="text"
> NAME="sfwsys0104
> _6" SIZE=3 VALUE="" CLASS=dwResult589 TABINDEX=58 STYLE="; width:0.260in"
> onFocus="{dwResult. itemGainFocus(6,4,th
is,dwResult.gobs.sfwsys0104);
> dwResult. selectControlContent
(this);}" onClick="{var ret;  ret=
> dwResult.itemClicked
> (6,4,'sfwsys0104'); return ret;}" onChange="{this.bChanged = true;}"
> onkeypress="DW_EditKeyPressed(-1)" onBlur="{dwResult.itemLoseFocus
> (this);}"></TD>
> .................
> you see the 4th row:
>
>    <TD CLASS=dwResult589 STYLE="; width:0.458in"><INPUT TYPE="text"
> NAME="sfwsys0103
> _6" SIZE=6 MAXLENGTH=20 VALUE="0103" CLASS=dwResult589 TABINDEX=57
> STYLE=";
> width:0.458in"
> onFocus="{dwResult. itemGainFocus(6,3,th
is,dwResult.gobs.sfwsys0103);
> dwResult. selectControlContent
(this);}" onClick="{var ret;  ret=
> dwResult.itemClicked
> (6,3,'sfwsys0103'); return ret;}" onChange={this.bChanged = true;}"
> onkeypress="DW_EditKeyPressed(-1)" onBlur="{dwResult.itemLoseFocus
> (this);}"></TD>
>
> ^^
> after the word 'onChange=',it lost '"', and sometime it will lost another
> charactor
> at other position!
> how can I do,help me!please!
>
> sunjie



Report this thread to moderator Post Follow-up to this message
Old Post
Carson Hager
04-07-05 12:03 PM


Re: Re: easerver lost charactor !
thank you for your response,Carson!
for you reply
1. Why is your character set not utf-8?
how to do and where to do ?
in JSP,I set :
<%@ page session="true" import="org.omg.CORBA.ORB,org.omg.CosNaming.NamingCo
ntext,
org.omg.CosNaming. NamingContextHelper,
org.omg.CosNaming. NameComponent,Sessio

nManager.
*,sfw.*" %>
<%@ page contentType="text/html; charset=UTF-8" %>
but the server show:
500 Servlet jspservlet: unable to service request: Cannot read file: ze file

2.What version of PowerBuilder are you using?  You're pretty much gonna
have to use PowerBuilder 10.0 with a PB10 web dw component to make this
work.

i said,i used PB 10.0.1 build 6064

please help me!


This message is forwarded from the newsgroup "sybase.public.easerver.general
".

----------- Begin Forwarded Message -----------

Subject: Re: easerver lost charactor !
From: "Carson Hager" <carson. hager@cynergysystems
.com>
Newsgroups: sybase.public.easerver.general

1. Why is your character set not utf-8?

2. What version of PowerBuilder are you using?  You're pretty much gonna
have to use PowerBuilder 10.0 with a PB10 web dw component to make this
work.



Carson

 ____________________
____________

Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com

Take PowerBuilder Applications to the Web Today with Cynergy EAF 4.0
http://www.cynergysystems.com/public/products/eaf

Report this thread to moderator Post Follow-up to this message
Old Post
sj
04-07-05 12:03 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

EAserver archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 10:53 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006