[Building Sakai] Chinese Character
Matthew Jones
jonespm at umich.edu
Tue Mar 23 21:29:56 PDT 2010
I tried to reproduce this on a number of QA servers. Ones running 2.5, 2.6
and trunk, running mysql and oracle. I was able to cause problems on 2 of
the servers that I tried.
The first was http://qa2-us.sakaiproject.org:9090/portal, and when I click
create content and edit content I get a bunch of diamonds with ?'s. However
actually clicking on the file says "*The requested resource () is not
available." *so there's probably something up with this server.
The other server that i'm running that I could reproduce it on was
http://qa6-us.sakaiproject.org/ <http://qa6-us.sakaiproject.org/portal/> which
is a mysql running on windows (most of the other runs are running on unix).
When I add Chinese characters to an html page (copied from the web), and
save it, they display fine when just clicking on the file. But editing it
displays them incorrect as you describe.
Clicking on "View Source" in the editor shows that the numeric encoding has
changed to html entities for some reason (incorrect ones at that)
漢字仮å . . . .
Clicking on "This frame->View frame source" in the browser displays these
entries in the textarea correct
...
�交�り文
...
So something in fckeditor seems to be doing some weird conversion for some
reason.
However trying to reproduce this on other QA's (QA5-US, nightly2 2.6.x and
our local build) are working fine. I can't find the config option in the
fckconfig that seems to be different other or variable othat than the server
is Windows.
As a side not it seems like loading config.js and fckconfig.js (from
fckeditor.html) doesn't seem to be very safe as lots of variables are
duplicated and are 'most likely overridden' but . . .
-Matthew
On Tue, Mar 23, 2010 at 11:21 PM, Sam Chow <samchow at ln.edu.hk> wrote:
>
> Dear Sir,
>
> I have a problem occur which is reported by some professor, when they
> create
> a html page under resource with some chinese character, it can view
> normally. But when they try to edit this html page, the chinese character
> will become some unknown chracter such as: �����.
>
> My tomcat has config server.xml with URIEncoding="UTF-8" already. I have
> test on Sakai 2.6.1 and 2.6.2 already, this case ocurred in both version.
>
> Any one have idea?
>
> Best Regards,
> Sam Chow
> --
> View this message in context:
> http://old.nabble.com/Chinese-Character-tp28010278p28010278.html
> Sent from the Sakai - Development mailing list archive at Nabble.com.
>
> _______________________________________________
> 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/20100324/151e8798/attachment.html
More information about the sakai-dev
mailing list