Hi,
We use Turbine-3 with velocity-1.3 dev and still have the problem with
non 8859-1 charset.
Any char in template which is not in ISO-8859-1 charset is converted to "?".
What we should setup for correct handling with input/output charset?

Our configuration:

velocity.properties:
#----------------------------------------------------------------------------
# T E M P L A T E  E N C O D I N G
#----------------------------------------------------------------------------
template.encoding=ISO-8859-2
default.contentType=text/html
input.encoding=ISO-8859-2
output.encoding=ISO-8859-2

TurbineResources.Properties:
services.LocalizationService.locale.default.bundle=MyBundle
services.LocalizationService.locale.default.language=cs
services.LocalizationService.locale.default.country=CZ
services.LocalizationService.locale.default.charset=ISO-8859-2

locale.default.language=cs
locale.default.country=CZ
locale.default.charset=ISO-8859-2



In Default.java returns:
data.getCharSet(); - ISO-8859-2
data.getResponse().getCharacterEncoding() - ISO-8859-1
data.getContentType() - text/html; charset=ISO-8859-2

We have also tested UTF-8 with +- same result.

Thank
Petr Stahl



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to