Forum

Questions and discussions

Cannot use country-specific characters (æøå) in search

Report any problems or bugs

Cannot use country-specific characters (æøå) in search

Postby mj72 » Mon Jul 20, 2015 7:48 pm

I search for the danish island Samsø, but get no results: http://www.fedefotos.dk/index.php?search=samsø

Æøå does not work, if the word samsø is in the field Category or in the field State:
http://www.fedefotos.dk/stock-photo/hal ... 14882.html

Æøå works fine, if the word is in the field Description.

Can anyone help?

Thanks a lot!
Last edited by mj72 on Sat Aug 15, 2015 5:17 pm, edited 1 time in total.
mj72
 
Posts: 94
Joined: Sat Jan 10, 2015 10:55 am

Re: Cannot use country-specific characters (æøå) in search

Postby FSAviator » Fri Aug 14, 2015 3:30 am

Hi mj!

It seems that this is a problem with the charset. You can try to set the store from the standard charset to the danish charset. But I don't know in which file the charset is defined, sry. But if you like you can take a look by yourself :lol:

Best Regards,

Sascha
FSAviator
 
Posts: 12
Joined: Sat Jul 18, 2015 5:43 am

Re: Cannot use country-specific characters (æøå) in search

Postby mj72 » Sun Jul 16, 2017 12:21 pm

Now I only have one (small) problem left:

If the word ends with æ, ø or å, then it is not a part of the search result:

www.fedefotos.dk/index.php?search=små (little)
www.fedefotos.dk/index.php?search=vrå (cityname)
www.fedefotos.dk/index.php?search=træ (tree)
mj72
 
Posts: 94
Joined: Sat Jan 10, 2015 10:55 am

Search and country-specific characters (æøå) / charset

Postby mj72 » Sun Jul 16, 2017 12:51 pm

Have also tried:
viewtopic.php?f=21&t=92&p=378&hilit=charset#p378

Settings in my program, which saves the IPTC:
Charset by reading iptc text: Unicode (UTF-8)
Charset by saving iptc text: Unicode (UTF-8)
Yes in checkbox: Use codepage from present language to other conversion between ASCII and Unicode

Have tried to uncheck the checkbox, it did not work.
mj72
 
Posts: 94
Joined: Sat Jan 10, 2015 10:55 am

Almost solved: Country-specific characters (æøå)

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

(Keywords: UTF8 format, encoding)
I upgraded from version 15 to 19, step-by-step.
Before the upgrade, all IPTC-text were fine (they are UTF-8-format, I am almost sure)
New uploads works fine.
But the old 8.000 are broken and looks like: å, ø Ø and so on.

I fixed most of it with Search and Replace:
My webhost (bluehost) > phpMyAdmin > *_store > table photos > Search and Replace Ã¥ with å - and so on > Repeat in Title, Description and Keywords > clear cache with www.fedefotos.dk/members/cron_delete_cache.php > now it works fine.

My problem: Only headlines are still broken - for example www.fedefotos.dk/stock-photo/sandks-strand-25953.html
mj72
 
Posts: 94
Joined: Sat Jan 10, 2015 10:55 am


Return to Bugs & Troubleshooting

Who is online

Users browsing this forum: No registered users and 7 guests

cron
  Photo Store Script

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

  Support
  CMSaccount Inc.