Thanks, Could you tell me in more detail?
currently the problem when i update product name using this name "Vanilla®
Visa® Gift Card"
But I got this name " Vanilla® Visa® Gift Card" saved in DB, which has
extra character Â.
I found out if I changed if (UtilValidate.isEmpty(charset)) charset =
"UTF-8";
to if (UtilValidate.isEmpty(charset)) charset = "ISO-8859-1";
in ControlServlet.java
this  is gone.
So i am not sure if i can use "ISO-8859-1 to encoding all requests.
So i am thinking i only do for updateProduct to set "ISO-8859-1" in
request.
Please let me know if this is ok.
Chwang
On Tue, Jun 15, 2010 at 4:31 PM, Patrick <
[hidden email]>wrote:
> One option is to call a static function from the FTL file. Like this:
>
> <#assign subCatlist =
>
> Static["org.ofbiz.entity.GenericDelegator"].getSubCategories(parameters.currentProductCategoryId)>
>
>
> On Tue, Jun 15, 2010 at 4:44 PM, chaohua wang <
[hidden email]> wrote:
> > Hi Folks,
> >
> > When i update a product name in catalog page, i sent request to back end.
> i
> > debugged in ContorlServlet.java file.
> > I saw request.getCharacterEncoding() is null. I wonder if there is a way
> to
> > set CharacterEncoding in the request from front end?
> > update product file is EditPtoductContent.ftl
> >
> > Thanks,
> >
> > Chwang
> >
>