|
Re: multibyte character set [message #180096 is a reply to message #180045] |
Thu, 28 September 2006 11:58 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Neil,
I think that should be supported. Probably you just don't have the
necessary fonts installed or something like that...
Neil Goldsmith wrote:
> Do the SSE editors, specifically the XML and JSP editors support multibyte
> character sets? I placed some Korean and simplified Chinese characters into
> the source view of the editor. I don't see the characters in the view (just
> blank space), but they do show up in the outline and in the properties view.
> Is this supported?
>
> thank you
>
>
>
|
|
|
Re: multibyte character set [message #181121 is a reply to message #180045] |
Sun, 08 October 2006 06:35 |
David Williams Messages: 722 Registered: July 2009 |
Senior Member |
|
|
On Wed, 27 Sep 2006 08:16:41 -0400, Neil Goldsmith <neilg@avaya.com> wro=
te:
> Do the SSE editors, specifically the XML and JSP editors support =
> multibyte
> character sets?
Yes, we support what ever Java supports. (And, all VM's are a bit =
different, but, most
support several hundred).
As Ed mentioned, its likely the font. There are some heuristics to auto =
=
dection best fonts to use
deep in the bowels of JFace or SWT code, but it is not fool-proof. So, l=
et =
us know if
change the font works for you. Or, if you have no idea which font to =
select, you might compare what
your OS system uses for various parts of its UI .... or, ask again!.
Also, since you sound new at this, I'll give a few pointers.
The encoding you'd like should be specified in the file (before you save=
=
the special characters).
XML is pretty easy
<?xml version=3D"1.0" encoding=3D"EUC-KR"?>
But, for JSPs, its best to spec it everyplace you can think of, dependin=
g =
on the version of JSP you use,
it might be
<%@ page
pageEncoding=3D"EUC-KR"
language=3D"java"
contentType=3D"text/html; charset=3DEUC-KR"
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv=3D"Content-Type" content=3D"text/html; charset=3DEUC-KR=
">
<TITLE>some Title </TITLE>
</HEAD>
<BODY>
</BODY>
</HTML>
|
|
|
Powered by
FUDForum. Page generated in 0.01689 seconds