Bravo List
Register
Go Back   > Bravo List > Source Code > Active Trackers > Torrent Trader
Reply
  #1  
Old 31st August 2015, 19:15
Extremlym's Avatar
Extremlym Extremlym is offline
Senior Member
 
Join Date: Oct 2012
P2P
Posts: 102
Default TT Language ERROR
the text is disappearing when i post something with specific letters in comments or torrent descr.

like ...

ă Ă â Â î Î ş Ş ţ Ţ.

what do i have to change???

HTML Code:
1 rows affected.
Warning: #1366 Incorrect string value: '\xC4\x83: Ha...' for column 'descr' at row 1
when i force to insert the txt in phpmyadm
Reply With Quote
  #2  
Old 31st August 2015, 19:37
Fynnon's Avatar
Fynnon Fynnon is offline
xxx
 
Join Date: Nov 2007
P2P
Posts: 984
Default
Quote:
Originally Posted by Extremlym View Post
the text is disappearing when i post something with specific letters in comments or torrent descr.

HTML Code:
1 rows affected.
Warning: #1366 Incorrect string value: '\xC4\x83: Ha...' for column 'descr' at row 1
when i force to insert the txt in phpmyadm
i think you need to change the character set in your database from UTF8 to "Windows-1252" (Windows Western European)
but i`m not sure how you can do it safely so make a backup of your database before doing anything. do some research on that error: Warning: #1366 Incorrect string value
Reply With Quote
  #3  
Old 31st August 2015, 20:15
UFFENO1 UFFENO1 is offline
Senior Member
 
Join Date: Sep 2008
P2P
Posts: 24
Smile
Try to save you files with UTF-8 without BOOM. Use Notepad++ or similar.
Reply With Quote
  #4  
Old 1st September 2015, 01:33
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
He tries to use Specific characters. I also use them and my code is UTF-8 and they work.
Comments, Forums, Torrents.. You just need code charset to utf-8 and also for mysql database. Collation also has a role into it. Also set up some rules in your apache/nginx configuration.
__________________
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. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)

Last edited by DND; 1st September 2015 at 01:55.
Reply With Quote
  #5  
Old 1st September 2015, 19:08
Extremlym's Avatar
Extremlym Extremlym is offline
Senior Member
 
Join Date: Oct 2012
P2P
Posts: 102
Default
Quote:
Originally Posted by DND View Post
He tries to use Specific characters. I also use them and my code is UTF-8 and they work.
Comments, Forums, Torrents.. You just need code charset to utf-8 and also for mysql database. Collation also has a role into it. Also set up some rules in your apache/nginx configuration.
THX

HTML Code:
default_charset = "UTF-8"
#AddDefaultCharset UTF-8
AddDefaultCharset ISO-8859-1
Reply With Quote
Reply

Tags
error , language , tt

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 14:16. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.