• Resolved yoch

    (@yoch)


    Hello, scribu
    thanks for the great plugin!

    Is it possible to use CFT use with cyrillic characters? Something goes wrong and no results are displayed when I’m trying to search custom field value in russian, like /?level=легкий

    thanks in advance
    K.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter yoch

    (@yoch)

    I’ve tried

    self::$query_vars[$key] = mb_convert_encoding($value, "UTF-8", "Windows-1251");

    in main.php on line 125

    Seems like worked…let me know if this correct or there is a better way.

    thanks,
    K.

    Thread Starter yoch

    (@yoch)

    Also I noticed that sticky post is always included in search results with 100% relevancy. IS it possible to fix this somehow?

    thanks

    mb_convert_string() shouldn’t be necessary.

    Does the normal WP search work with cyrillic characters?

    If yes, I need the following information:

    – database charset (see wp-config.php)
    – WP encoding (see WP-Admin -> Settings -> Reading)

    Thread Starter yoch

    (@yoch)

    Yes, normal WP search works fine.

    my wp-config settings:

    define(‘DB_CHARSET’, ‘utf8’);
    define(‘DB_COLLATE’, ”);

    and “Encoding for pages and feeds” is UTF-8

    thanks
    K.

    I can’t reproduce the problem, so if the modification works for you, great.

    Thread Starter yoch

    (@yoch)

    OK, thanks again for the plugin!

    best,
    K.

    Also I noticed that sticky post is always included in search results with 100% relevancy. IS it possible to fix this somehow?

    Fixed in the development version (1.5a).

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Custom Field Taxonomies] CFT use with cyrillic characters’ is closed to new replies.