[x] Navigation

[x] Languages

[x] Design
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.

8.2b: Bug im news-modul

Go to page Previous  1, 2
This forum is locked: you cannot post, reply to, or edit topics.    This topic is locked: you cannot edit posts or make replies.    Printer Friendly Page     Forum Index ›  Bugs

View previous topic :: View next topic  
Author Message
mskphi
Agent
Agent

Offline Offline
Joined: Jul 15, 2004
Posts: 99

PostPosted: 16.09.2004 18:01
Post subject: Re: 8.2b: Bug im news-modul

bin deinem hinweis nur mal eben kurz nachgegangen, kann das aber nicht nachvollziehen:
die daten für die artikel (cms4u_stories) werden auch direkt in utf8 in der datenbank gespeichert. und eine suche mit deutschen umlauten funktioniert auch.
also ohne das jetzt tiefer analysieren zu wollen, denke ich, dass die vorgeschlagene lösung von Reha passt...


mskphi's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache1.3.33/PHP 4.4.7/MySQL 4.0.27/CPG 9.1.2.1
Back to top
View user's profile Visit poster's website
Guest






PostPosted: 10.12.2004 16:00
Post subject: Re: 8.2b: Bug im news-modul

[quote="Reha"]So ich habe das Problem gefunden und gelöst ;)

Einmal in includes/messagebox.php
[php] $title = utf8_encode($title);
$content = $row['content'];
$content = utf8_encode($content);[/php]
ersetzen mit
[php]//$title = utf8_encode($title);
$content = $row['content'];
//$content = utf8_encode($content);[/php]
und noch in admin/modules/messages.php
[php]$title = htmlentities($title, ENT_NOQUOTES); // darkgrue
$content = htmlentities($content, ENT_NOQUOTES); // darkgrue[/php]
ersetzen mit
[php]//$title = htmlentities($title, ENT_NOQUOTES); // darkgrue
//$content = htmlentities($content, ENT_NOQUOTES); // darkgrue[/php][/quote]
Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.    This topic is locked: you cannot edit posts or make replies.    Printer Friendly Page    Forum Index ›  Bugs
Page 2 of 2
All times are GMT + 1 Hour
Go to page Previous  1, 2



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum




Interactive software released under GNU GPL, Code Credits, Privacy Policy