MyBB Community Forums

Full Version: letter with accent =>question mark - why?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
in my mybb forum i can read all text without problems.

but ..."feed rss" (0.92 and 2.00) generate a text with error:
where there is a letter with accent!
letter with accent becomes a question mark!

here there is the file "rss.php" (rss generator)
http://www.zip-online.net/uploads/110106...-06734.zip

why?
it is possibile to correct this problem?
This may be your problem: content="text/html; charset=UTF-8" in the header, you need to use a charset that supports whatever accents you need.

And this belongs in support...not requests
(2011-01-28, 01:07 AM)fizz Wrote: [ -> ]This may be your problem: content="text/html; charset=UTF-8" in the header, you need to use a charset that supports whatever accents you need.

And this belongs in support...not requests

please can you give me help with exact info?

if you see the file "rss.php", you can find
header("Content-Type: text/xml");
(2 times in the file rss.php)
i changed in:
header("Content-Type: text/xml; charset=UTF-8");

but then "feed rss" don't works.

:-(



please, can help me?

:-)
does UTF-8 support the accents you need?
UTF-8 should support pretty much all accented characters. The file itself may not be encoded to UTF-8 though.
yes,

if you download rss.php (rss generator) in my first post,
you can read this line:
echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";

!!!
I don't need to download the file, link me to your forum
(2011-02-09, 12:00 AM)fizz Wrote: [ -> ]I don't need to download the file, link me to your forum

sorry, i don't like to write link to my personal forum.

anyway in my forum i can view all threads and all posts without problems.
only for rss feeds a letter with accent becomes a question mark!

:-(

No, you have to encode the file to utf-8. open it in Notepad++, then on the 'encoding' dropdown, select "encode with UTF-8 Without BOM"
and if that doesn't work, try "encode with UTF-8"
Pages: 1 2