Gallery remote UTF-8 in G2 for RU characters
Continental
Joined: 2004-06-14
Posts: 243 |
![]() |
Again installed Gallery Remote, and again face the encoding problem. This time want to make this feature work. ;-) The problem is that Tree, file names, Albums e.t.c. are with not right encoding for russian characters. When uploading files, it's every much more problems with it. See picture: [img]http://www.vollen.ru/gr.jpg[/img] Steps I did: My log when I tried fetch albums is here: The other problem I have, than after (only) step 3, my updated gallery says me Image Magick and Jpegtran could not be found. |
|
paour
![]()
Joined: 2002-08-14
Posts: 1479 |
![]() |
I tried testing, but both your URLs seem to be offline. -- |
|
wlad
Joined: 2005-12-01
Posts: 1 |
![]() |
Hi! I have the same problem with russian characters. Hope you can help! |
|
paour
![]()
Joined: 2002-08-14
Posts: 1479 |
![]() |
Can one of you give me the URL to your Gallery? -- |
|
Continental
Joined: 2004-06-14
Posts: 243 |
![]() |
Hi, currently I have only one: |
|
paour
![]()
Joined: 2002-08-14
Posts: 1479 |
![]() |
Continental: the fullscreen slideshow doesn't seem to be enabled, and when I connect without a password to your Gallery, I get latin names for your albums and pictures. How can I get the cyrilic to see the problem? -- |
|
Continental
Joined: 2004-06-14
Posts: 243 |
![]() |
Sorry. In fact I have never tried run GR to this gallery. ;-) I store latin names in primary language, and russian in multilanguage. thas's why you do not see. @slideshow I p.m. you another my gallery url (in fact, I have another one), where you should see russian albums names (which are store in primary language) and primary language is russian. hope, you can without password only in view mode? or how? |
|
paour
![]()
Joined: 2002-08-14
Posts: 1479 |
![]() |
Without a password, GR will show the same thing as what can be seen through the web. That should be fine for this. -- |
|
paradiso
Joined: 2005-12-11
Posts: 5 |
![]() |
hey, I'm running a gallery at http://paradiso.cn/gallery, same problem with chinese charactors. |
|
paour
![]()
Joined: 2002-08-14
Posts: 1479 |
![]() |
paradiso: which version of GR are you running? -- |
|
Continental
Joined: 2004-06-14
Posts: 243 |
![]() |
Sorry for interrruption, but...2paour. please, I'd like to ask you do you solved our issue with russian characters? My GR said me 1.5b3 is the last, but I'm still using 1.5b2 |
|
paradiso
Joined: 2005-12-11
Posts: 5 |
![]() |
paour: i installed version 1.5. Then I downloaded 1.5.1-b3, and extracted the files into GR's install directory, now it shows 1.5.1-b3 in the about window. I think maybe the fix didn't work. btw, my operating system is windows 2k3 english. Continental: I think our problems are related to the same bug. |
|
paour
![]()
Joined: 2002-08-14
Posts: 1479 |
![]() |
paradiso: your Gallery is not the latest version. Please upgrade to 2.0.2 and you will most likely see the problem is fixed. -- |
|
paradiso
Joined: 2005-12-11
Posts: 5 |
![]() |
paour: what i installed is http://heanet.dl.sourceforge.net/sourceforge/gallery/gallery-2.0.2-developer.tar.gz |
|
Continental
Joined: 2004-06-14
Posts: 243 |
![]() |
2paour: have you connected my PM'ed link to gallery? it is still broken chars. |
|
paour
![]()
Joined: 2002-08-14
Posts: 1479 |
![]() |
I didn't get a PM, sorry. -- |
|
Continental
Joined: 2004-06-14
Posts: 243 |
![]() |
I sent it again. If you do not receive again, please try www dot travelcamera dot ru / content/. That's is not opened site yet. I use 2.0.2+ and 1.5.1b3 |
|
paour
![]()
Joined: 2002-08-14
Posts: 1479 |
![]() |
I'm uploading GR 1.5.1-b5, which fixes the problem. Thanks for giving me access to your site, which helped diagnosing the problem. -- |
|
paradiso
Joined: 2005-12-11
Posts: 5 |
![]() |
paour: I still get the problems with chinese charactors in b5. I'm sure my gallery is 2.0.2. Perhaps u may check again? btw, here is what GalleryLocal show with my gallery. All charactors are perfect. So I don't think it's a problem related to my gallery installation. Or perhaps GalleryLocal used a different way to access Gallery? [img]http://gallery.menalto.com/files/gallocal.jpg[/img] EDIT: I upgrade the gallery to nightly builds. Now GR shows all squares with chinese charactors in the tree but the chars in the right panel are okay. Maybe the tree list is using a wrong font. Is it possible to change the default font? btw, the chinese localized interface is awful too because of the small size of th font. EDIT Again: All are perfect on my Chinese Windows 2K. Do you think I should change my Java settings on this English Win2k3? |
|
paour
![]()
Joined: 2002-08-14
Posts: 1479 |
![]() |
paradiso, you can change the font used by Gallery to force it to use a font that is adapted to Chinese. Take a look at the defaults.properties file in the directory where GR is installed and then take a look at this FAQ entry: http://codex.gallery2.org/index.php/GalleryRemote:FAQ#Editing_preferences -- |
|
paradiso
Joined: 2005-12-11
Posts: 5 |
![]() |
paour: finally i resolved this problem by adding the following lines to x:\Documents and Settings\username\.GalleryRemote\GalleryRemote.properties. fontOverrideName=SimSun If any of these lines is absent, GR won't apply the correct font settings. For example, If I only set fontOverrideName, the font won't change. Thanks for the help! |
|
paour
![]()
Joined: 2002-08-14
Posts: 1479 |
![]() |
Congrats, glad this is solved! I'll add it to the FAQ. -- |
|
Gillinger
Joined: 2005-03-09
Posts: 35 |
![]() |
Not sure if this is the right thread, but I did a search and it seemed suitable to make the post here... I've got problems with umlauts (swedish characters åäöÅÄÖ) when using Gallery remote to upload. Am I doing something wrong? Cheers, C |
|
paour
![]()
Joined: 2002-08-14
Posts: 1479 |
![]() |
Depends... which version of Gallery and GR are you using? -- |
|
Gillinger
Joined: 2005-03-09
Posts: 35 |
![]() |
Latest version of both Cheers, |
|
sunkit
Joined: 2005-08-02
Posts: 23 |
![]() |
paradiso, I also have this problem like you. paour, I also found that, if I use GR create new album in chinese name, it can show correct char instance, but after close and RE-open GR, it become symbol, pls check with attach photo. |
|
paour
![]()
Joined: 2002-08-14
Posts: 1479 |
![]() |
sunkit, this should be fixed with G 2.1-RC1, which will be out today. -- |
|
lukav
Joined: 2006-02-10
Posts: 6 |
![]() |
Is it possible to make cyrillic charecters display in Remote gallery when the Gallery is v1.5.1? |
|
paour
![]()
Joined: 2002-08-14
Posts: 1479 |
![]() |
That's a good idea. I'll try to implement it. Can you PM me the URL of your server so I can test? -- |
|
paour
![]()
Joined: 2002-08-14
Posts: 1479 |
![]() |
GR 1.5.1-b11 adds support for forcing the encoding when connecting to a Gallery. Add forceProtocolEncoding.n=encoding in the GR preferences, where n is associated with your Gallery URL and encoding is the standard name of the encoding. I've tested on lukav's Gallery (thanks!) with 'windows-1251' as the encoding. -- |
|
lukav
Joined: 2006-02-10
Posts: 6 |
![]() |
Thanks Paour, |
|
paour
![]()
Joined: 2002-08-14
Posts: 1479 |
![]() |
lukav: - G2.1 (RC1 was published yesterday) doesn't need the encoding to be forced, it correcly sets the encoding to UTF-8 - can you set the test album to replicate the problem, so I can look at it? Thanks! -- |
|
lukav
Joined: 2006-02-10
Posts: 6 |
![]() |
RE: G2.1 - I'll give it a go. |
|
lukav
Joined: 2006-02-10
Posts: 6 |
![]() |
I've just installed G2.1 ... but if I don't force the utf8 in GR I don't see the texts proberly ... |
|
paour
![]()
Joined: 2002-08-14
Posts: 1479 |
![]() |
lukav: so on the test album, the valley pictures has a caption that is using HTML entities: I believe that's ok on in the web browser, but it is impossible to read in GR. This is because you probably have the Allow HTML Markup in captions preference (in Upload) turned off. Could you try to turn it on, and then upload another picture, setting the caption in GR? Regarding G2.1, I found the problem: I broke charset autosensing in b11. I've fixed it in GR 1.5.1-b12. Thanks for the heads-up. -- |
|
lukav
Joined: 2006-02-10
Posts: 6 |
![]() |
paour: I've tried setting Allow HTML Markup in captions to on, but it is the same behavour. But the problem is not in reading HTML captions, but that I don't want cyrillic charecters get in as HTML entities when I set them through GR, but as normal cyrillic charecters. The same way that new albums get set properly when I create them with GR. Re: GR2.1. I've test the new version and now it works. I don't have to set the forceencoding. |
|
paour
![]()
Joined: 2002-08-14
Posts: 1479 |
![]() |
lukav: can you try setting Allow HTML Markup in captions to OFF? When you do that, GR is not supposed to perform entity encoding on captions when you upload files. I'll update GR so that with G2 it never does escape HTML entities. -- |
|
lukav
Joined: 2006-02-10
Posts: 6 |
![]() |
paour: I must apolagize. my test are incorrect since I was trying to actually edit the caption, but it seems that GR doesn't supprt that .... |
|
leipomo
Joined: 2006-04-19
Posts: 1 |
![]() |
Gillinger wrote:
Not sure if this is the right thread, but I did a search and it seemed suitable to make the post here... I've got problems with umlauts (swedish characters åäöÅÄÖ) when using Gallery remote to upload. Am I doing something wrong? I have the same problem. The "umlauts" (or what ever they are called) work fine when I edit them directly from gallery2. But with GR they are total garbage. I have 2.0.4 gallery and I have tried with 1.4.1 GR as well as latest (19th of may -06) cvs version of GR.. |
|
rokket
Joined: 2006-04-26
Posts: 2 |
![]() |
=)http://breast-art.t2gof.info Paradiso, heh China liters so good =) |
|
lai
Joined: 2006-02-25
Posts: 19 |
![]() |
username:测试 if username=chinese name (测试) my gallery url username=test sorry my bad english |
|
rokket
Joined: 2006-04-26
Posts: 2 |
![]() |
Quote:
I'll update GR so that with G2 it never does escape HTML entities. See http://about-car-loan-with-bad-credit.cmm3w.info (now U./K. no SPAM!) |
|