Hi Jim , (Geia sou)
I already use iso-8859-7 in the page as you type in the example
Have you set anything else in mySQL for the greek language to be set ?
I used an application Navicat to set the greek language in mySQL.
The greek chartacters seem ok in the records.
Do you think that I shouls explicitly set Page Content.setCharacterEncoding
?
What should I pass in the setCharacterEncoding ("iso-8859-7") ?
Thanks for your concern
Eyxaristo :))
----- Original Message -----
From: "Jim Theodoridis" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, January 09, 2003 12:48 PM
Subject: Re: JSPWriter prints ???
> Hi.
>
> I use the same database and Struts. The data of the database displays well
> but only
> if i use <%@ page contentType="text/html; charset=iso-8859-7" %>
>
> I think U must set the corect character encoding for the PageContext
>
> PageContext .setCharacterEncoding(.....)
>
> Jim Theodoridis
>
> ----- Original Message -----
> Georg thanks for your concern.
> The options are not from the resources file.
> They are read from mySQL.
> I use the html:select and the html:options tag
> to display the records.
> I debugged the Options Taga from the struts source
> and it calls
> ResponseUtils.write(pageContext, sb.toString());
>
> which is this
> public static void write(PageContext pageContext, String text)
> throws JspException {
>
> JspWriter writer = pageContext.getOut();
> try {
> writer.print(text);
> } catch (IOException e) {
> RequestUtils.saveException(pageContext, e);
> throw new JspException
> (messages.getMessage("write.io", e.toString()));
> }
>
> }
>
> the text in "writer.print(text);"
> looks fine before print is called
> but in the html I get ???? instead for the records
>
> Thanks
> (Geia sou kai esena)
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>