Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Anonymous (not verified) on
Hi to all,
i've some problem with letters like à, è, ì, etc.
Anyone can help me?
Many thanks in advance.
Comments
impossible to help
if you ask like this. it's like asking "i have a problem with my car. please help". what would you answer?
did you read the submission guidelines?
I'm sorry, i'm a newbie. T
I'm sorry, i'm a newbie.
This is my problem:
When i write some word like 'facoltà' or other word with letter accented letter, this is displayed with some strange character.
I hope that this explanation is sufficient.
Many thanks
Browser encoding
Make sure your browser is set to use the page's encoding rather than overriding with a custom one. Drupal now uses UTF8 encoding (unicode). Check if your theme isn't putting in a custom content-type other than utf8.
By the way, your description is still horrible. What version of Drupal are you using? Are any contrib modules installed? Does it happen everywhere or only on comments, polls, ...? When do they appear mangled... after previewing, or only after inserting into the database (posting).
Be specific.
db-dependent?
For me using drupal4.3.0/mysql it seems that in text printed directly (using print "text") international characters gets replaced with question marks but in text returned from the database (i.e. nodes) the international characters are displayed correctly.
I haven't had time to investigate why this happens yet, but I will probably be forced to do that soon.
follow-up (couldn't edit)
I don't know if this is a correct way to solve the problem but as a temporary fix at least it seams to be possible to use the following function (at least it works for me)
http://www.php.net/manual/en/function.utf8-encode.php