Piwigo.org

You are not logged in. (Register / Login)

Announcement

Post a reply

Write your message and submit

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

plg
2011-01-31 11:42:08

To fix the bug I have released extension:495

plg
2010-07-26 23:09:16
Polly
2010-07-19 11:54:54

sounds good...
but automatic detection would be even better.

regards
  Polly

plg
2010-07-19 11:43:44

I've been searching for an automatic detection algorithm, but found nothing. We could add a configuration parameter :

Code:

// what is the encoding use by the software you use to add IPTC metadata?
// "auto" will detect "utf-8" or "iso-8859-1". Set it to "macintosh" if you
// use Adobe products with your Mac
$conf['iptc_encoding'] = "auto";
plg
2010-07-19 10:58:33

rvelices wrote:

the encoding is Western MacRoman (choosing this encoding in FF, displays the right data)

as of now there is absolutely no support for Mac Roman. However that would not be that difficult to manage. just need a developper ready to "learn" mac roman and decode that into utf-8 ...

In the source code you indeed wrote:

rvelices in Piwigo source code wrote:

// apparently mac uses some MacRoman crap encoding. I don't know
    // how to detect it so a plugin should do the trick.

I just found a MacRoman_to_utf8 function and it works well with Polly photo but it doesn't solve the automatic detection question.

rvelices
2010-07-19 10:39:45

the encoding is Western MacRoman (choosing this encoding in FF, displays the right data)

as of now there is absolutely no support for Mac Roman. However that would not be that difficult to manage. just need a developper ready to "learn" mac roman and decode that into utf-8 ...

Polly
2010-07-19 09:26:54

Hello,

- in this case IPTC data is added through adobe lightroom
- yes i'm using a Mac
- piwigo version 2.1.2
- default encoding used by adobe lightroom (dont know which encoding)

Problems:
- piwigo 2.1.1 -> Cutting the tag right before the umlaut
- piwigo 2.1.2 -> see the attached picture

Thanks for your help.

Polly

plg
2010-07-18 14:26:35

rvelices wrote:

are you using a Mac ?

Yes, he is: Adobe [Software] => Adobe Photoshop CS3 Macintosh.

2 weeks ago, I have discussed with a Mac user that had problems with accents when he was using his Mac to fill IPTC tags.

rvelices
2010-07-18 11:14:01

are you using a Mac ?
I think Mac uses a "Mac Roman" encoding which is neither iso-8859-1 nor utf-8

plg
2010-07-16 22:32:48

Hi Polly, nice to read you again :-)

I thought you're problem was related to [Bugtracker] bug 1663 in which rvelices fixed an encoding bug that was introduced in Piwigo 2.1. I reproduce the bug with Piwigo 2.1 BUT I thought there would be no bug with Piwigo 2.0 so I tested on Piwigo 2.0.10 and it doesn't work, there is also the umlaut problem!

* 2.0.10 : problem
* 2.1.2 : problem

How do you add the IPTC tags?
Do you know the encoding used by your software?

Polly
2010-07-16 15:22:57

Hey everybody,

today i saw that the IPTC data is not able to display german umlauts.

as you can see here, only nice squares are displayed instead.
http://www.peter-reiser.de/bilddatenban … tadata.php

Is there a trick to display umlauts correct?

Thanks!

regards,
  Polly

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013