i want to localize jyve to chinese
i add a new class(JyveLocalization_zh.java) and compiled
but i can't see any chinese, only some ???
i find turbine dos not set the codeset of ContentType.
i change the code in RunDataFactory and solved the question:
bash-2.03 $ diff new/RunDataFactory.java old/RunDataFactory.java
64,66d63
< // Turbine Classes
< import org.apache.turbine.services.resources.*;
<
126,133d122
<
< // set ContentType
< String charset =
< TurbineResources.getString("locale.default.charset", null);
< if (charset != null)
< {
< data.setContentType("text/html; charset=" + charset);
< }
Jian He
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]