Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » multibyte character set
multibyte character set [message #180045] Wed, 27 September 2006 12:16 Go to next message
Neil Goldsmith is currently offline Neil GoldsmithFriend
Messages: 68
Registered: July 2009
Member
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 #180096 is a reply to message #180045] Thu, 28 September 2006 11:58 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
David Williams is currently offline David WilliamsFriend
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>
Previous Topic:newbie can't get tutorial to work from eclipse
Next Topic:WTP project’s name problem
Goto Forum:
  


Current Time: Fri Mar 29 06:02:13 GMT 2024

Powered by FUDForum. Page generated in 0.01689 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top