Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

wrong accented characters shown inside search results


  #1  
Old Feb 14, 2011, 07:32 AM
Pillozzo
 
1 posts · Feb 2011
I am using the 3.6.1 version of Atahualpa in WP 3.0.5.; db charset is utf8_general_ci.
When the "à" character (ANSI 224) is contained in an article:

- if you search (in the default WP search box) just for the "à" character (or for a word including it) search returns nothing.;
- if you search for another word included in the same page than "à", it returns a question mark instead of each "à" character present inside the shown text.

Please note that this behaviour is shown only in Atahualpa.

I solved this problem replacing all occurrences of

"preg_split("/\s+/"

with

"preg_split("/\s+/u"

in the code inside "functions.php", particularly in "function bfa_wp_trim_excerpt($text)".
  #2  
Old Feb 20, 2011, 06:36 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Thanks, added for 3.6.5

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Search Results kpkes@yahoo.com Center area post/pages 4 Jul 16, 2012 03:57 AM
Template for search results kjetil Center area post/pages 1 Jun 14, 2010 05:06 AM
Links to post from Google search are wrong kmagyarics Post-Kicker, -Byline & -Footer 2 Nov 23, 2009 09:20 AM


All times are GMT -6. The time now is 12:02 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.