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

Problem with German \"Umlaute\"

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

Post a reply
4 posts • Page 1 of 1

Postby Harald » Thu Mar 04, 2010 12:06 pm

Hello

I just integrated your Chat in my forum and everything works finde with one exception.

When the Username contains german umlaute like öäü, they are not correctly displayed at the bottom before the text inputfield. Here an image how it looks:

Image

The website is encoded in ISO-8859-1

In my chat config I have the following lines:

$params['nick'] = iconv("ISO-8859-1", "UTF-8", $user_info['name']);
$params["output_encoding"] = "ISO-8859-1";

I use the latest version in the svn repository.

Can anybody tell me what i am doing wrong?

Thanks,
Harald
Harald
New member
 
Posts: 2
Joined: Thu Mar 04, 2010 11:57 am
Location: Vienna
  • Website
Top

Postby Harald » Sun Feb 13, 2011 3:42 pm

Hi,

My Posting is nearly one year old, so perhaps there are some news in the meanwhile?

Cheers
Harald
Harald
New member
 
Posts: 2
Joined: Thu Mar 04, 2010 11:57 am
Location: Vienna
  • Website
Top

Postby re*s.t.a.r.s.*2 » Sun Feb 13, 2011 5:21 pm

I just put that, as nick and they came up fine your pic is very small..

can you tell me how to reproduce it..
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top

Postby barra » Sun Nov 13, 2011 10:25 am

Hi,

i had the same problem. My solution:

On all pages i am sending the header:

header("Content-type: text/html; charset=iso-8859-1");

when i am making sure to send the header:

header("Content-type: text/html; charset=utf-8");

on the chat-requests i am fine with the usernames.

For instance:

if ($page == "chat" && !empty($_POST))
{
header("Content-type: text/html; charset=utf-8");
}
else
{
header("Content-type: text/html; charset=iso-8859-1");
}


so long
barra
Last edited by barra on Sun Nov 13, 2011 10:26 am, edited 1 time in total.
barra
New member
 
Posts: 1
Joined: Sun Nov 13, 2011 10:23 am
Top


Post a reply
4 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 20 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