Cyrilic charset problem

copyman1

Joined: 2004-02-27
Posts: 9
Posted: Mon, 2004-03-01 00:36

Hello all,

I have a problem, i see wrong character if the name of title or albums
write with charset=cp-1251. I think it is the setting the JRE. Please tell me what I am doing wrong.

Regards Milen

AttachmentSize
GCS0005.jpg76.36 KB
 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Mon, 2004-03-01 02:18

Non-ASCII characters are not supported in GR. Gallery can accept them, but not tell GR about them (or web clients, so users must manually select the correct codepage in their web browsers).

The solution to both is to use HTML entities (like &) for all non-ASCII characters. A future version of Gallery will accept UTF-8.

 
copyman1

Joined: 2004-02-27
Posts: 9
Posted: Mon, 2004-03-01 05:44

OK ! Thanks Paour

Milen

 
andrius.kurtinaitis

Joined: 2004-05-14
Posts: 2
Posted: Fri, 2004-05-14 05:19

Hi,
is there some way to specify the charset in GalleryRemote? Some property in .GalleryRemote props file? If not, may it be easily implementable? Could you then mention source file names, where would be the best place for charset conversions?
thanks
Andrius

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Fri, 2004-05-14 13:13

I'm working on this right now, so I'm really glad you're reactivating this thread.

I have implemented support in GR for non-roman HTML entities. Recent versions of Gallery create these entities when non-roman text is entered, so for albums that were created by recent versions of Gallery, everything works well.

I will post to this thread again when I have a version of GR that you can test.

I'm also looking for people who have Galleries with codepage-encoded non-roman text. How you can tell is by looking at the HTML source for a page that contains non-roman text. If the source contains codes like 〹, it's HTML-entity-encoded. If it contains actual non-roman characters or nonsensical characters, it's codepage-encoded. I would like to try and support codepage-encoded Galleries also.