Display of extended characters like é Display of extended characters like é
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Display of extended characters like é

Started by fatty_bear, January 15, 2007, 07:53:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fatty_bear

How do I view accents in Coppermine?   For example "é" is being displayed in both Firefox and IE as a small box rather than é.

Here is an example. Look at the name André Dufault in the picture caption.
http://classof1981.rmcclub.ca/gallery/displayimage.php?album=2&pos=4

If you do "view source", you can see the accent is there properly in the html... but my browser does not display it properly. I am using IE 7 and Firefox 1.5.0.9

In my application, Coppermine is bridged to phpBB. The accents display fine in phpBB, so I don't think it is a browser issue. For what its worth, I think the host is using a windows server of some kind - and they installed Coppermine and did the bridging for me.

Thanks in advance.

Pascal YAP

Morning,

Maybe you started your CPG's install with ISO, and you change that for a new config who is now in UTF-8.
Use "Image Description" to correct "?" to "é" :-)
By chance you have only 22 pictures  ;D

And i see you used accentuated characters in file nane ! Bad idea !

PYAP


fatty_bear

Thanks for the reply.

I looked in the admin panel in Language & Charset, and Unicode (recomended) (UTF-8) is selected. Is ther another setting I am missing?

Interestingly, if I change the site language to french, the accents in the navigation text are visible, but the accents in picture captions still are not. What is different between them that would cause this?

Thanks for the comment on "no accents in the file names". I did not notice them before. I'll make that suggestion to the photographer who is uploading all the photos.  I'm just the site admin.



fatty_bear

one other piece of information I should tell you - those captions were input automatically by the iptc2db.php program to get IPTC data from teh photos. Could that be causing the problems?
http://forum.coppermine-gallery.net/index.php?topic=28718.0

Pascal YAP

Quotethose captions were input automatically by the iptc2db.php program to get IPTC data from teh photos. Could that be causing the problems?
This is the best info about your issue ! You must start by this way next time  ;)
Maybe iptc2db.php do not know how to extract accentuated characters.
i know nothing about this MOD...

PYAP

fatty_bear

Quote from: PYAP on January 16, 2007, 12:21:14 PM
Maybe iptc2db.php do not know how to extract accentuated characters.

... except the extended characters are visible if you do a view source, so I assumed it was not iptc2db.php

ANYONE HAVE ANY IDEAS?

fatty_bear


fatty_bear

It does appear to be related to iptc2db.php... or perhaps to the program that the photographer used to add IPTC data to the photo.

As admin, if I edit files in the album list, I can change the photo description from the square to é and then everything is displayed properly...but if I run iptc2db.php it changes it all back again.  Weird problem. 

Joachim Müller

iptc2db.php probably doesn't add utf-8 encoded text, but iso8859-1 encoded text (just guessing though, as I don't know that app). Hence the "strange" chars. Little we could do to help you circumevent this issue. I suggest finding a tool that supports utf-8 encoded strings in IPTC data.