Shirley, i have same prolem with char "à", too. T_T
|
If you installed Atahualpa 3.4.9 the excerpt works , but in the 3.5.3 version it does not wokr the «à» , it put an square instead of it.
I hope someone else has a solution for 3.5.3 |
Any new ideas to get the 'à' working?
|
update: the 'à' gets displayed correctly if I replace the 'à' with à in the HTML code of the post and then immediately save it (no switching back to HTML mode - it replaces à with an 'à' again = same problem).
but that's not really a solution since there are a lot of 'à' in a lot of posts!! and it's hard to tell people to manually replace the 'à' with à in their HTML code ... :( any other ideas? |
JeromeH - can you give the url of your site and point to a post with the issue?
|
Hi, the site isn't live/public yet so I can't give you a link. But I've taken a screenshot:
http://www.symposium.lu/popbio2008/f...907-154919.png Note the black diamond in the excerpts. They don't show in the full posts. |
Jerome, would you be willing to do a database backup and email it to me?maybe I can recreate it with your data.
|
Crasy, i were coming crazy with this error.
I found a way to avoid the problem by changing the expression in the preg_split function. Look like to be a problem with this php function. So in the function bfa_wp_trim_excerpt($text) (you can find it in function php of the theme) You change twice the argument of the preg_split call. // OLD $words = preg_split("/\s+/", $text); $words = preg_split("/[ \r\t\f\n]+/", $text); :confused: |
I tried this, but unfortunately it does not do the trick for me...
First, the excerpts do now contain the images (they were stripped off by the initial version of the code). Then I cannot figure out why, but one of my agrave is still showing funny... Please have a look. http://jeanmichel.cazaux.free.fr/TB3...athaulpa-3.png I tried this with the default WP theme (twenty-ten 1.1) and all my "à" look fine. I am using WP 3.0.1 and Athualpa 3.5.3 Any help will be much appreciated. Jean-Michel |
Hello juggledad ...
we're having the same issues here ... our site is live at http://ttnff.selfip.com, should you still be interested in seeing it "live". The "diamonds" are visible in Firefox, in IE they appear are squares. I've tried the recommendations in this thread, with varying levels of success - none however fixes the "issue" completely. Tom. |
can you point to a post with the issue?
p.s. in the photos 'Iceland 2010' second photo - is that your daughter? Why are teenagers the same the world over - 'looks' over 'comfort'? |
Juggledad,
bright-eyes in the second photo is my cousin's daughter; mine is the toddler. If you switch the language to french on the homepage, you will see most excerpts (and only the excerpts) have the "funny characters" described in this thread. What's boggling me however is that overnight they changed from the black diamond with "?" to the squares with "FR". Anyway, would be nice to have your view on this. |
I copied the first post in 'french' and posted it into my test site, but both the excerpts and full post is fine.
what is the plug-in you have to switch languages? Would you let me in to poke around. I'd like to get a dump of your database and see if I can recreate it. If so send me a PM with an admin ID and PW or do an sql export of the db and email it to me. |
tmarien
can you send me your nl_NL.mo and fr_FR.mo files? |
Hi
I've just updated to the new theme atahualpa 3.6 but i have the same issue. I can send you the backup of my database to your personal email if you don't mind. |
1 Attachment(s)
there was a change in how excerpts are handles in 3.5.3 - the code was changed from using a php 'explode()' to a php 'preg_split()'. I'm wondering if the preg_split is causing the issue.
With this in mind I have a test for you to run. 1) download the attached file, unzip it 2) edit the file (USING A TEXT EDITOR) and change the text 'this is a string' to something with french characters - make sure to keep the single quotes around it 3) save it and upload it to the atahualpa folder 4) create a new page called 'test' 5) assign the template 'pmwtest' to the page 6) publish the page - you can make it private, just note the url 7) view the page and see if there is any difference in the two tests - send me the url so I can look also. Attachment 1000 |
My blogue is in the intranet. I can not give you the link.
I have the error when i want to see the new page. Fatal error: Cannot redeclare bfa_get_options() (previously declared in D:\www\blog\wp-content\themes\atahualpa\functions\bfa_get_options .php:2) in D:\www\blog\wp-content\themes\atahualpa\functions\bfa_get_options .php on line 512 |
sorry, there looks like there was a change in templates from 3.5.3 to 3.6.0 and I (oops) didn't test it in 3.6.0
replace the first part of the code: [html]<?php /* Template Name: pregtest template */ ?> <?php // Do not delete these lines ?> ------ <?php /* get all options: */ include (TEMPLATEPATH . '/functions/bfa_get_options.php'); get_header(); #global $bfa_ata; // You can start editing below: ?> with HTML Code:
<?php |
1 Attachment(s)
Here is the text :
à la une . Dès que jaurais le temps. Étienne In the file , you will find what i get. And there is no difference. |
can anyone verify this ?
|
All times are GMT -6. The time now is 09:49 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.