form encoding problems

2003-03-03 Thread Jeremy Quinn
Hi All, This is possibly a trivial mistake ... but I never came across it before. I have a search form for searching Lucene. Mozilla confirms the page is in UTF-8 encoding. I enter a string with accented characters into the query field. eg 'éclair' (e-acute). The form comes bac

Re: form encoding problems

2003-03-03 Thread Torsten Curdt
he encoding is still UTF-8. (The value has been picked up by an InputModule and fed via the SiteMap to XSLT). The query string in the URL reads 'query=%C3%A9clair', which are the unicodes for 'A-tilde' and 'Copyright' characters. (Which would imply to me that the Br

RE: form encoding problems

2003-03-03 Thread Artur Bialecki
; Subject: form encoding problems > > > Hi All, > > This is possibly a trivial mistake ... but I never came across it > before. > > I have a search form for searching Lucene. Mozilla confirms > the page is > in UTF-8 encoding. > > I enter a string with acce

Re: form encoding problems

2003-03-03 Thread Jeremy Quinn
NS/Mozilla. Sorry, cannot really remember what is was :-/ Have a beer, maybe you will remember ;) I have a search form for searching Lucene. Mozilla confirms the page is in UTF-8 encoding. I enter a string with accented characters into the query field. eg 'clair' (e-acute). The form

Re: form encoding problems

2003-03-03 Thread Konstantin Piroumian
he page is in UTF-8 encoding. I enter a string with accented characters into the query field. eg 'éclair' (e-acute). The form comes back with the string now reading 'éclair'. (A-tilde, Copyright sign). Mozilla says the encoding is still UTF-8. (The value has been picked up by an In

RE: extending the Request object!?

2003-06-30 Thread Geissel, Adrian
itten > to use this Map. > > Is this a practicable way or do we have such functionallity somewhere? Does it not make more sense to put this functionality into a specialised utility class for manipulating a request query string - SOC and all that... > > BTW, what is a MultiPartRequest?

cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/java esql.xsl

2002-06-04 Thread haul
al static String getAscii(ResultSet set, String column) { -InputStream asciiStream = null; -byte[] buffer = null; +/** returns Unicode encoded string from CLOB or String column + */ +public final static String getStringOrClob(ResultSet set, String column) throws

Re: extending the Request object!?

2003-06-30 Thread Enke, Michael
ctor(param1a, param1b, ...) > > name2 - Vector(param2a, param2b, ...) > > > > All methods for the Request object than have to be rewritten > > to use this Map. > > > > Is this a practicable way or do we have such functionallity somewhere? > > Does it not m

cvs commit: xml-cocoon2/src/documentation/xdocs/userdocs/xsp esql.xml

2002-11-17 Thread haul
( Exception e) { throw new RuntimeException("Error getting blob data: " + e.getMessage()); } + return result; } /** returns Unicode encoded string from CLOB or String column */ -public final static String getS

cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp EsqlConnection.java EsqlHelper.java EsqlQuery.java

2002-05-16 Thread haul
byte[] buffer = null; +/** returns Unicode encoded string from CLOB or String column + */ +public final static String getStringOrClob(ResultSet set, String column) throws RuntimeException { + +String result = null; try { -

cvs commit: xml-cocoon2/src/documentation/xdocs/howto/xmlform-wizard howto-xmlform-wizard-1.xml

2002-06-10 Thread shannon
nvenient to name the view after +the base of the filename. So in this case, we will name our view +"registration". In step 4 static string constants are used to unify +the naming and allow for easier maintenance + +The action attribute should con

cvs commit: xml-cocoon2/src/documentation/xdocs/howto/xmlform-wizard howto-xmlform-wizard-1.xml

2002-06-10 Thread shannon
y the form action +to determine which page was submitted, mapping the data on the form to +current logic in the action. The name of the view should simply be +unique within the form, but it is most convenient to name the view after +the base of the filename. So