Forum

Questions and discussions

Geman language- problems with umlauts

Report any problems or bugs

Re: Geman language- problems with umlauts

Postby soxin » Mon Aug 16, 2010 5:45 pm

Hello Jens,

this solution is only for new files, if you use the bulk upload.

What is your language?

What are your problems?
Sorry for my english :)
soxin
 
Posts: 66
Joined: Mon Mar 22, 2010 2:28 pm
Location: Germany

Re: Geman language- problems with umlauts

Postby jens » Tue Aug 17, 2010 3:07 pm

Hello soxin,

thanks for replying;) My language is german, and - your workaround sounds logical. What I did in the meantime was to delete all testfiles, loded them up again via admin-bulkupload (after having done your changes in the script). For now the Umlauts are replaced in different ways, so I am a bit helpless with that ...

Do you have an Idea? Thanks for helping,

jens

PS,.: I think we should continue this thread in english, so that also others (and Anton;)) can follw this, what do you think?
jens
 
Posts: 4
Joined: Thu Aug 12, 2010 2:01 pm

Re: Geman language- problems with umlauts

Postby soxin » Sat Aug 21, 2010 7:14 am

Jens, can you upload some problem files? I will look in the IPCT informations.

I did a lot of uploads in the last days with umlauts, i don't have any problems.
Sorry for my english :)
soxin
 
Posts: 66
Joined: Mon Mar 22, 2010 2:28 pm
Location: Germany

Re: Geman language- problems with umlauts

Postby jens » Mon Aug 30, 2010 5:47 pm

Hi Soxin,

it's not a matter of the files or the iptc-codes itself. Anton offered me to solve the problem in conjunction with your modification (that was some - long - days ago, unfortunately I haven't got any reaction from him since I sent him all necessary logins (...) I hope, he is alright and healthy ...

But maybe you could help me instead by sending me the source of your home.tpl and item_photo.tpl to do a compare? After trying around a lot to solve this concern I have got it, that noc IPTC-Keywords are shown at all, whatever template I choose ...

Tanks for helping me out;)
jens
jens
 
Posts: 4
Joined: Thu Aug 12, 2010 2:01 pm

Re: Geman language- problems with umlauts

Postby admin » Tue Aug 31, 2010 5:33 am

Hello, Jens

There are no any problems into the templates files because they are only simple text files with HTML code.

You should figure out what encode IPTC of your photos have exactly. In this case i can change it to utf8.
admin
Site Admin
 
Posts: 1465
Joined: Sun Mar 07, 2010 5:55 pm

Re: Geman language- problems with umlauts

Postby jens » Tue Aug 31, 2010 7:49 pm

Hello Anton, hello soxin,

many thanks for your numerous advices;)

After I did a complete reinstall and adding your script, soxin, the iptc-keywords still appear with "funny signs" ...

For keywording I am currently using Bridge (part of adobe photoshop CS5), mostly iViewMediaPro.
I'm working on a MAC (of course;). I can't imagine, that it's a matter of which software or iptc-encoding is used, as different photographers will use differen iptc-editors for keywording, so I think it has to be unique?

My suspicion is, that there is a mistake in my db-settings (Kollation etc.), which is responsible for this problem? Anton, could I ask you to take another look at this???

Thanks for helping and best regards,
jens
jens
 
Posts: 4
Joined: Thu Aug 12, 2010 2:01 pm

Greek language- problems encoding

Postby yorgok » Mon Feb 28, 2011 11:21 am

Hallo I have a simmilar problem when i upload images from frontend with iptc tags. The Greek tags dont show correct.

After investigating i managed to solve the issue but from backend bulck upload only!

i used this... Open: /admin/bulk_upload/photo_upload.php

find this
//Keywords
if(isset($iptc["2#025"][0]) and $iptc["2#025"][0]!="")
{
$iptc_kw="";
for($t=0;$t<count($iptc["2#025"]);$t++)
{
if($iptc_kw!=""){$iptc_kw.=",";}
$iptc_kw.=$iptc["2#025"][$t];
}
if($iptc_kw!="")
{
$sql="update photos set keywords='".result($iptc_kw)."' where id_parent=".$id;
$db->execute($sql);
}
}

}
}


change to this

//Keywords
if(isset($iptc["2#025"][0]) and $iptc["2#025"][0]!="")
{

$iptc_kw="";
for($t=0;$t<count($iptc["2#025"]);$t++)
{
if($iptc_kw!=""){$iptc_kw.=",";}
$iptc_kw.=$iptc["2#025"][$t];
}
if($iptc_kw!="")
{
$keyw2=iconv('windows-1253', 'utf-8//IGNORE', $iptc_kw);
$sql="update photos set keywords='".$keyw2."' where id_parent=".$id;
$db->execute($sql);
}
}

}
}

as you can see i added the greek caracter code and it worked.

Please tell me where to change similar code so that i can upload images with iptc greek caracters
1. from front end single upload
2. from front end bulk uplad with zip file
3. backend single image upload

i have the script almoast a year!!! and found the solution myself as you told me i had to use utf8 encoding on my iptc export.....please be polite and answer quickly
yorgok
 
Posts: 1
Joined: Sun Feb 27, 2011 2:03 pm

Re: Geman language- problems with umlauts

Postby PascalP » Fri Aug 05, 2011 2:31 am

soxin wrote:Hello,

is there a possibilty to fix the ipct support with umlauts like ä,ü,ö and ß in the german language.

If i add with the bulkupload (or other upload with ipct support) pictures, the umlauts are presented as
Code: Select all
S�d
instead of
Code: Select all
Süd
.. the german word for "south".

Thank you for help...


Hi,
I have the same problem, for french accent, but photo_upload.php ist not the same.
i need help, thank.

ps: i use lightroom for keyword.
PascalP
 
Posts: 41
Joined: Thu Apr 22, 2010 4:42 pm
Location: Tours, France

Re: Geman language- problems with umlauts

Postby admin » Thu Aug 11, 2011 3:12 pm

The IPTC info must be in utf8 encode.
admin
Site Admin
 
Posts: 1465
Joined: Sun Mar 07, 2010 5:55 pm

Language-problems in specifik letters: umlauts, æøå and so o

Postby mj72 » Mon Oct 14, 2019 3:02 pm

Maybe the solution is here: viewtopic.php?f=21&t=1503
mj72
 
Posts: 96
Joined: Sat Jan 10, 2015 10:55 am

Previous

Return to Bugs & Troubleshooting

Who is online

Users browsing this forum: No registered users and 6 guests

cron
  Photo Store Script

Professional php photo stock script and WordPress plug-in for photographers and video producers.

  Support
  CMSaccount Inc.