BlastChat
 arrowHome arrow Support Forum Saturday, 22 November 2008 

Cellphone Number Identification
Login Form





Lost Password?
No account yet? Register

BlastChat
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Dynamic update - wrong characters (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Dynamic update - wrong characters
#2996
C.N. Mugnano STET (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Dynamic update - wrong characters 1 Year, 6 Months ago Karma: 0  
Have you fix the problem?
I have the same problem, please help me!!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2997
Prutkar (Admin)
Admin
Posts: 1773
graph
User Online Now Click here to see the profile of this user
Re:Dynamic update - wrong characters 1 Year, 6 Months ago Karma: 49  
Not yet, I probably will have to release whole new client and module to fix this in some elegant way.

I think the difference is between encodings used on your site, i.e. difference between what MySQL us using, what PHP is using and what your html output is.

1st printout of names is done directly by PHP generated page, every dynamic update is generated by PHP but printed out by javascript and that's where the problems seems to come in.

May be it would be enough to adjust some headers in AJAX return, hm. I have tried different things but so far no simple solution worked, new module will be completelly changed and hopefully that will solve it.

Till then, if you are developer who can debug and test, please, go on and fiddle with module and client, if you are able to fix the problem I think more webadmins would be happy about it.<br><br>Post edited by: Prutkar, at: 2007/05/07 06:28
 
Report to moderator   Logged Logged  
 
Peter Saitz
www.blastchat.com
  The administrator has disabled public write access.
#2998
Prutkar (Admin)
Admin
Posts: 1773
graph
User Online Now Click here to see the profile of this user
Re:Dynamic update - wrong characters 1 Year, 6 Months ago Karma: 49  
If any of you who has this problem could try to do the following:

Edit /../components/com_blastchatc/dynamic.blastchatc.php file, find function getContent, add following line after global variables definitions (put it somewhere like 3rd line):

header( &quot;Content-Type: text/html; charset=UTF-8&quot; );

(you can change UTF-8 to charset of your site if it does not work)

This is just an idea which I can not test as I do not have website with different charset then UTF-8.

It will be highly appreciated if you report back to this topic the result of test.<br><br>Post edited by: Prutkar, at: 2007/05/11 07:25
 
Report to moderator   Logged Logged  
 
Peter Saitz
www.blastchat.com
  The administrator has disabled public write access.
#3127
C.N. Mugnano STET (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Dynamic update - wrong characters 1 Year, 2 Months ago Karma: 0  
Woow, perfect!!

Now it's all right!!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3136
mulerosdgo (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:Dynamic update - wrong characters 1 Year, 2 Months ago Karma: 0  
Please, I have unfelled in blascht and the module fails, as they explain it in the most top note, here it is said that adding header (&quot; Content-Type: text/html; charset=UTF-8 &quot; it works, but not exactly in that part(report) of the code adds happiness lìnea of code, Graces(Thanks) His(Its) friend Eduardo Oozco Najera from Durango
Example: function getContent($bc_params) {

global $mosConfig_absolute_path, $mosConfig_live_site, $mosConfig_lifetime, $database, $mosConfig_lang, $Itemid;



if (!file_exists($mosConfig_absolute_path.'/components/com_blastchatc/module.blastchatc.php') {

echo &quot;Missing file &quot;.$mosConfig_absolute_path.&quot;/components/com_blastchatc/module.blastchatc.php&quot;;

return;

}

In that it(he,she) divides her(it) I add?
File Attachment:
File Name: blas_chat_modulo.txt
File Size: 15644
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3139
salsaporamor (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:Dynamic update - wrong characters 1 Year, 2 Months ago Karma: 0  
Hi,

For accentuated chars, the code is iso-8859-1

Code:

header (&quot; Content-Type: text/html; charset=iso-8859-1 &quot;«»);
 
Report to moderator   Logged Logged  
 
Suavemente! Salsa por Amor - www.suavemente.fr
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
BC CSS templates
  • BlastChat CSS tempplates Image Rotator
  • BlastChat CSS tempplates Image Rotator
  • BlastChat CSS tempplates Image Rotator
  • BlastChat CSS tempplates Image Rotator
  • BlastChat CSS tempplates Image Rotator

BC Module 3.0
We have 98 guests and 7 members online
We have 1 member chatting
tooltip  RABF
tooltip  comdaika
tooltip  Prutkar
tooltip  angelsport
tooltip  Triplebaits
tooltip  sankdewa
tooltip  xristos_
Statistics
Visitors: 20453290

Logotyp
Page loaded in 0.770 seconds.