Bravo List
Register
Go Back   > Bravo List > P2P > Forum > Community Cafe
Reply
  #1  
Old 21st August 2021, 22:49
darknight1's Avatar
darknight1 darknight1 is offline
Senior Member
 
Join Date: Aug 2017
Posts: 21
Default Font in database
Hello who can tell me what I need to set in my database that the font is displayed correctly on my page. A lot of question marks and other characters are displayed - it is in Greek,
Reply With Quote
  #2  
Old 21st August 2021, 22:50
DND's Avatar
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,144
Default
utf8 encoding
utf8 connection
utf8 character set
i recommend to use utf8mb4_unicode_ci with mysql 8 for your tables
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. TBDev Support
  5. Gazelle Support Install
  6. TSSE Install Support
Reply With Quote
  #3  
Old 21st August 2021, 23:19
darknight1's Avatar
darknight1 darknight1 is offline
Senior Member
 
Join Date: Aug 2017
Posts: 21
Default
I got it from another database and everything worked there and now it doesn't
Reply With Quote
  #4  
Old 22nd August 2021, 21:10
hon's Avatar
hon hon is offline
Senior Member
 
Join Date: Oct 2020
P2P
Posts: 29
Default
darknight1: because I know Greek add utf8_general_ci in databese and in the php script taking the values from the database set utf8

After you connect to the mysql, do this query to make sure that you are using UTF8:
PHP:
PHP Code:
mysql_query("SET NAMES 'utf8'");
mysql_query("SET CHARACTER SET 'utf8'"); 
Make sure that in HTML (head) you are using the right encoding
HTML:
HTML Code:
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
if this does not help, try different encoding, like ISO-8859-1
__________________
TorrentTrader4Ever

If you want help about TorrentTrader send me a PM.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 00:05. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2021, vBulletin Solutions Inc.