| Summary: | [Font/Colour] Eclipse 3.0 M8 Encoding Problem | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | pawa <pawamaba> |
| Component: | UI | Assignee: | Kim Horne <eclipse> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | clinker, daniel_megert, douglas.pollock, eclipse, hanavy, kraml, Sam.Mesh |
| Version: | 3.0 | ||
| Target Milestone: | 3.0 M9 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | 56915 | ||
| Bug Blocks: | |||
|
Description
pawa
Since we didn't change the default encoding behavior in M8, and since your fix did not involve changing the encoding of Eclipse in any way, this sounds more like a font problem. Rafael, what do you think? Agreed. If the problem was restricted to XML files (the ones we have special handling so far), I would suspect of the new encoding support. If it is a general problem for all text/Java/... files, then I would suspect of a presentation problem. Pawa, can you confirm the problem was happening to text files in general? I try again.It is it is a general problem, all my files ( .java,.txt,.html,ect... ) include chinese can not display correctly. And the fix is to change the default text font? Could you please give us the names of the Eclipse default text font in M7 and M8? i meet the problem too. Any Chinese charactor in any editor can not be displayed properly Yes, the fix is to change the default text font to chinese font. The Eclipse default text font in M7 and M8 both are "Courier New-regular-10" Moving to platform.ui for comment. I'm too.. I use Korean and all Korean characters broken. If I use Gulim font(TTF) then the characters display well, but if I use FixedSys(Bitmap Font), then that problem occur. In Eclipse 2.x.x and till 3.0M7 I didn't meet that problem. I think this is not an encoding problem but font display problem, too. And in addition to that in Eclipse 3.0Mx, I cannot enter 2-byte characters(Korea) to Find/Replace Dialog. In 2.x.x that problem did not occurred. I use Windows 2000 SP4.(Korean edition) "Courier New" does not have any Korean or Chinese character set. But earlier version of Eclipse can show Korean characters by using other Korean font, "Batang" mapped with "Courier New" font. And almost all editors do that. So I want to choose "Courier New" for English characters and other font like "Batang" for Korean characters. How do you choose "Courier New" for English characters and other font for Korean characters ? It seems that eclipse can only choose one font for all characters. I don't know the internal mechanism. Just I want that. Earlier version of Eclipse and many other editors like EditPlus seems to do that automatically. In that cases, I just choose one font that does not contain Korean font, but I can see Korean characters written in "Batang" font. but Eclipse 3.0 M8 doesn't do that. I want Eclipse 3.0 M8 to do the same thing as other editors. That is ! I prefer to let us choose english font and other 2-byte characters font individually. This is getting coverage in the newsgroups. Support for zh_CN is a "must-have" for the 3.0 final release. Adding to M9. *** Bug 56692 has been marked as a duplicate of this bug. *** *** Bug 56855 has been marked as a duplicate of this bug. *** Question for the original poster: In your previous installs, did you have the chinese language pack installed? This is not available for 3.0 yet so that that would (partially) explain why the editors are no longer rendering chinese. When they ship the default text editor font for Chinese will be able to render the characters properly. The other part of this is that the StyledText widget (that drives the editor presentations) has undergone a significant rewrite. This might explain why things worked in M7 but not in M8. It's possible that there was some hackery in the old widget that let it all work properly even when the text font was set to Courier. Tod has tracked down a bug in StyledText that seems to be a likely candidate for the root of this problem. Please see Bug 56915. There is any matter with chinese language pack ? Anyway, I did not use the chinese language pack with any edition of eclipse . so is this fixed now? can we close this bug? With Tods help, this has been verified to be fixed against I20040413. Verified in 20040520 Closing to keep a tidy house. Pardon the spam. |