vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Strange characters in database and how to make them readable (https://vborg.vbsupport.ru/showthread.php?t=326289)

Inna 04-11-2018 04:20 PM

Strange characters in database and how to make them readable
 
Hi, my database charset and all the vBulletin charsets are "latin1_swedish_ci".
In some tables like username or posts, I see characters that are strange to me, but are readable by the server to convert them to the correct letters. Like this
Quote:

سعید
This is in Persian "سعید".
I tried changing all tables and vb database to utf8_persian_ci, and also ut8mb4_persian_ci and ut88_general_ci, and I changed the collation of all tables to these, but nothing converted.
How can I fix this? Both for the existing data and the future data.

Dave 04-11-2018 04:26 PM

Did you change the character set doing https://stackoverflow.com/a/6115705/6275228 ?

Inna 04-11-2018 04:31 PM

Yes, I have, but that didn't work.

snakes1100 04-12-2018 07:06 AM

Is it a plesk server, if so, plesk has a nasty issue of setting a local php.ini with a charset entry & its forces sql to use UTF8.

Inna 04-12-2018 09:02 AM

No, it's DirectAdmin.


All times are GMT. The time now is 12:49 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01037 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete