filter problem

15 years 2 months ago #87646 by danieltal
filter problem was created by danieltal
Cannot get any results if I'm using filter hebrew word.

I need help with this line:

$filterRules = utf8RawUrlDecode( substr( $row->filterfields, 1 ) );

it's encoding the value that I put in the filter.

Post edited by: danieltal, at: 2009/02/04 00:10

Post edited by: danieltal, at: 2009/02/04 00:11

Please Log in to join the conversation.

15 years 2 months ago #87705 by beat
Replied by beat on topic Re:filter problem
i would be surprised that the filters actually support international charsets, if your PHP charset settings are not UTF-8 by default. ;)

To use that with default PHP ISO charset, probably would need to review that line and the few other lines of code that access the storage for filter, and accept incompatibility of database storage.

I don't recall such a feature request yet, but it's something we will address in CB 2.0 latest.

In mean time try changing the php setting might be easiest.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

15 years 2 months ago #87711 by danieltal
Replied by danieltal on topic Re:filter problem


Post edited by: danieltal, at: 2009/02/05 08:34

Please Log in to join the conversation.

15 years 2 months ago #87799 by danieltal
Replied by danieltal on topic Re:filter problem
Hi,

Thank you for the reply.

If I use the user list search it will find it without any problem.

I did some debug and saw that the sql select in the search is ok and send the value without any encodeing.

In the filter case it encode the value to utf8 and never find any results.

I will appreciate it if you can tell my how to remove the utf8 encoding from the filter code.

thanks in advance,

Please Log in to join the conversation.

14 years 11 months ago #97226 by danieltal
Replied by danieltal on topic Re:filter problem
Hi,
can you please help me in this issue.
please tell my the price to fix this problem in RC4.

The CB is in production and I cannot upgrade to 1.2.

Daniel

Post edited by: danieltal, at: 2009/04/30 17:33

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.201 seconds