| Summary: | [Translated Article] "Graphics Context - Quick on the draw" Chinese version | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Community | Reporter: | yipsilon zheng <yipsilon> | ||||
| Component: | Articles | Assignee: | community.articles-inbox <community.articles-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| URL: | http://www.eclipse.org/articles/Article-SWT-graphics/SWT_graphics.html | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
yipsilon zheng
Created attachment 69894 [details]
The article(HTML) file.
I've tried to convert it to the new template. It looks great on my personal workstation, but it seems that the character set doesn't look right when I serve it from eclipse.org. Does it look right to you? http://www.eclipse.org/articles/article.php?file=Article-SWT-graphics/index_cn.html (In reply to comment #2) > I've tried to convert it to the new template. It looks great on my personal > workstation, but it seems that the character set doesn't look right when I > serve it from eclipse.org. Does it look right to you? > > http://www.eclipse.org/articles/article.php?file=Article-SWT-graphics/index_cn.html > Maybe, the default encoding of that page is ISO-8859-1, it only supports western characters. I try to read it successfully by UTF-8 encoding. (In reply to comment #2) > I've tried to convert it to the new template. It looks great on my personal > workstation, but it seems that the character set doesn't look right when I > serve it from eclipse.org. Does it look right to you? > > http://www.eclipse.org/articles/article.php?file=Article-SWT-graphics/index_cn.html > When I view this page, it shows the encoding is ISO-8859-1. After I change the encoding to UTF-8, it can be displayed correctly. I think the reasons is using "header('Content-Type: text/xhtml; charset=ISO-8859-1');" codes in php of that page. I believe that I've sorted out the character encoding issue. I've posted the link on Eclipse Corner (and resources). Please provide me (via email) with the author's contact info (name, address, phone #) and shirt size; I'll send some Eclipse swag. |