You are here:  » Foreign Charakters (Search and XML)

Active Forum Topics


Foreign Charakters (Search and XML)

Submitted by soulwind on Sun, 2006-09-17 11:05 in

how can i make it possible to search german charakters like (ä, ö, ü?)
now when i perform a search (ex. mütze) it does -> mütze and it gets no result of course
(i've installed the html search mod, but the same happens without that)

i also have the same problem when importing files with ä ö ü as XML how
can i automaticly rename those in ae oe and ue? i did it manually at the moment

hope you understand it ;)

greets

Submitted by support on Sun, 2006-09-17 11:14

Hello,

This probably just means that the character set that you have setup in config.php is not correct for your feeds. The default is:

  $config_charset = "utf-8";

But you might need to use this instead:

  $config_charset = "iso-8859-1";

Then it should work fine. The only problem you might then have is if some of your feeds are iso-8859-1, and some are utf-8. Then, you have to use the filters (UTF8 Decode) on the product name and description fields of any feeds that are not ISO-8859-1 encoded.

Cheers,
David.

Submitted by soulwind on Sun, 2006-09-17 11:56

hi! thanks for the answer i did iso-8859-1 but i will try again with the utf8 decode .. but for the search it isn't still working?

greets

Submitted by soulwind on Sun, 2006-09-17 12:04

ouh got it i have to search and replace ;) but the search has to do so also?

*edit*

Submitted by support on Sun, 2006-09-17 12:55

Hi,

The browser should submit characters using whatever character set the site is configured in (as this is sent to the browser in an HTTP header).

So is it still not working when you search with foreign characters?

What is displayed in the search box on the results page?

Submitted by soulwind on Sun, 2006-09-17 12:57

ok let's say .. i search/replaced the word mütze as -> muetze but in german the people still search mütze ;) so the search has to do also a search for muetze not for mütze do you know what i mean? ;) greets

Submitted by support on Sun, 2006-09-17 13:04

Ah I see what you mean.

But, Price Tapestry should work fine with the foreign characters - you should not need to search and replace - there are plenty of people using Price Tapestry with non-English feeds.

What character set have you configured in config.php:

  $config_charset = "???"

Can you send me the link to your site and I will take a look? (reply to your registration code email)

Cheers,
David.