List Info

Thread: Re: UTF-8 (hebrew)




Re: UTF-8 (hebrew)
user name
2007-06-27 09:48:51
Hello Luciano,

I have several pages with hebrew titles. Everything works, but on page "admin/editmap1.jsp", I see only first three letters of hebrew name, followed by "...".

Can that be due to each hebrew character taking 2 bytes, and you calculate length of title string based on byte size?

--
Arieh
Re: UTF-8 (hebrew)
country flaguser name
Italy
2007-06-27 10:05:25
On Wed, 27 Jun 2007 17:48:51 +0300
"Arieh Skliarouk" <skliariehgmail.com> wrote:

> Hello Luciano,
> 
> I have several pages with hebrew titles. Everything
works, but on page
> "admin/editmap1.jsp", I see only first three
letters of hebrew name,
> followed by "...".
> 
> Can that be due to each hebrew character taking 2
bytes, and you
> calculate length of title string based on byte size?

Hello Arieh,

A possible explanation could be the fact that you have
created some
pages using US-ASCII, thus titles are writte in HTML
entities, making
them longer than they should.

Can you confirm this? (Just open one of those files as text
and look at
the title).

I will fix it asap. In the meanwhile, if you switched to
UTF, try
re-saving a page using the visual editor: entities will be
converted
back to characters.

Luciano


------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
MeshCMS-Discussion mailing list
MeshCMS-Discussionlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesh
cms-discussion

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )