djpredator69 Posted August 5, 2012 Share Posted August 5, 2012 hi i have problems to display this symbols in the user part of ezrpg . when i recive the db data back to display it under admin part he show me ö,ü,ä and the same data in user part he show me ü,ö why? what is diffrent under user and admin? in the header i use iso-8859-1 in the db i found this ü,ö not ö,ü, but in the admin part he translat me this ü from db to this ö in the tpl display why not in user part ? pls help Quote Link to comment Share on other sites More sharing options...
risingsparky Posted August 5, 2012 Share Posted August 5, 2012 If you want to make use of extended character sets, set your character encoding to UTF-8 for your database, output headers, and in your html. 1 Quote Link to comment Share on other sites More sharing options...
Helari Posted August 5, 2012 Share Posted August 5, 2012 (edited) Smaller ones _____________________________ õ - õ or õ ä - ä or ä ö - ö or ö ü - ü or ü š - ž - Bigger ones ____________________________ Õ - Õ or Õ Ä - Ä or Ä Ö - Ö or Ö Ü - Ü or Ü Š - Ž - And some specials ____________________ & - & (ampersand) < - < (less then) > - > (grater then) Hope it helps! Use those codes instead of the real letters...Should work! :) Reason why it shows it so stranglely is that coding system works on english alphabet. Edited August 5, 2012 by Helari Edited my post since numeric code numbers were converted into symbol automaticly by this forum... Quote Link to comment Share on other sites More sharing options...
Helari Posted August 5, 2012 Share Posted August 5, 2012 http://et.wikibooks.org/wiki/HTML:Tehnilised_detailid im sorry that site is estonian but scroll down there and u will see the full character codes there...this stupid forum converts numeric codes into letters and i cannot show it -.- Quote Link to comment Share on other sites More sharing options...
djpredator69 Posted August 6, 2012 Author Share Posted August 6, 2012 (edited) no my probleme is it works perfekt under admin part why not under the user part what are diffrent between admin and user parts i solve the problem so : <td colspan=3>{utf8_decode($news1->text)}</td> Edited August 6, 2012 by djpredator69 Quote Link to comment Share on other sites More sharing options...
SC-Scripting Posted August 6, 2012 Share Posted August 6, 2012 Use this in your header.tpl inside de <head></head> tags. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.