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
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
; 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
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
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
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?
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
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
( 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
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 {
-
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
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
12 matches
Mail list logo