[Building Sakai] Blog Tool encoding problem

Steve Swinsburg s.swinsburg at lancaster.ac.uk
Wed Mar 25 08:13:58 PDT 2009


Hi,

I think this is the same issue as reported here:
http://jira.sakaiproject.org/jira/browse/SAK-14332

Can you take a look and confirm if it is? If so, will endeavour a fix  
ASAP.


cheers,
Steve

---
Steve Swinsburg
Portal Systems Developer
Centre for e-Science
Lancaster University
Lancaster
LA1 4YT

email: s.swinsburg at lancaster.ac.uk
phone: +44 (0) 1524 594870







On 25 Mar 2009, at 15:05, Yan-hong Lin wrote:

> Hello,
>
> I'm trying the Blog tool.
> It works well with type english title/messages.
> But has problems when input characters like "新標題"("New Title" in  
> Chinese).
> The jsp program received wrong encoding parameters using  
> request.getParameter().
> I try with code below...
>
> out.println(request.getParameter("PostForm:idTitle"));
>
> Result is wrong encoded text output.
> And code below has correct output.
>
> out.println(new  
> String 
> (request.getParameter("PostForm:idTitle").getBytes("ISO-8859-1"),  
> "UTF-8"));
>
> There are no effects if add request.setCharacterEncoding("UTF-8") or  
> request.setCharacterEncoding("ISO-8859-1") before test code.
> So I think the problem is Blog Tool are not full UTF-8 support.
> Does anyone have suggestions for resolve this problem?
> I want to fix by modify source code, and publish the solution.
> Thanks.
>
>     lyhcode
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org 
>  with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090325/a07449c3/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2437 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090325/a07449c3/attachment.bin 


More information about the sakai-dev mailing list