hi everyone, i just found this perfect site while searching on google, N-13 News is really great; compact and fast; but i have encoding problems with this script.I'm not able to display some chars in the news and on the topics.
I tried to solve my problem with following the steps on this topic but it did not work.My language is Turkish and i want to display ŞĞÜİÇÖ,şğüçö and ı (without point : i) thank you very much.have a nice day.
thank you very much Chris but i tried that, when i change 8859-9 to utf-8 i'm not able to see the other Turkish chars on my site.Is there another way to just change the encoding of the script not entire page ?
Warning : Cannot modify header information - headers already sent by (output started at public_html/v1/index.php:9) in <b>public_html/haberler/index.php</b> on line 2
haberler/index.php -> N-13 News script
v1/index.php -> My main site (it does not inclued any header information, i just delete it.)
also i tried adding "header('Content-Type: text/html; charset=utf-8');" on top of my index.php and deleting it from N-13 News script but result is the same.
Access: Admin
Total Posts: 1395
Joined: 2006-05-19
Placing the
Code:
header('Content-Type: text/html; charset=utf-8');
after ob_start(); gets rid of the error but it doesn't fix the language issue.
I'm not sure it's possible to use multiple language charsets within the same page. The other other way I can think to get around this would be to use an iframe but this isn't ideal.
in my header-file. That worked fine, until I enabled html in my news-stories (I did that because i wanted to float images to the left or right within the story).
But as a result, my special Danish characters æ. ø and å were displayed as something like æøåÆØÃ. The problem is that they are entered into the database as utf-8 and read out as iso-8859-1.
So what I did was to change line 25 in admin.php into:
as well. Of course this will only work on future postings - or I will have to repost all old news. But it works with danish, so probably also for Turkish?
Access: Admin
Total Posts: 1395
Joined: 2006-05-19
That may indeed work, I appreciate you trying to help others out. On a relataed note, you can float images without having to enable html, using the [left][/left] tags
These simply wrap whatever is inside within a div then floats the div.