• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ Contributions (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

Who\'s online / Last Posted messages

Post a bug fix, a new feature, a theme ...

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
1 post • Page 1 of 1

Postby AlphaYoDa » Thu Sep 28, 2006 12:53 am

A very little tweak.

for : http://www.phpfreechat.net/demo/pfc-1.x ... astmsg.php
and : http://www.phpfreechat.net/demo/pfc-1.x ... online.php

The data are get in UTF-8 format and it cause problems at the display on HTML webpages that are ISO-8859-1.

"ç*%ç*%" is getting -> "ç*%ç*%" , etc.

You can handle this by converting the data :

iconv("UTF-8", "ISO-8859-1", $m["sender"])
iconv("UTF-8", "ISO-8859-1", $m["param"])

in place of $m["sender"], $m["param"] for the last posted messages

and


iconv("UTF-8", "ISO-8859-1", $u)

in place of $u for the who's online
Last edited by AlphaYoDa on Thu Sep 28, 2006 12:56 am, edited 1 time in total.
AlphaYoDa
New member
 
Posts: 4
Joined: Wed Sep 27, 2006 1:04 am
Top

Post a reply
1 post • Page 1 of 1

Return to Contributions (v1.x)

Who is online

Users browsing this forum: No registered users and 4 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub