PDA

View Full Version : Solved Posting directly as Russian, charset is off



ctrenks
24-10-17, 15:28
I have a CMS outside of vbulletin that I can post content with, I now have a need to post directly as russian but it is not working.

If I post natively from a text doc that was sent to me I get

Онлайн казино Вулкан: 1000 и 1 персональный бон

I tried pasting into google translate as they display the entered text re-encoded and copied/ pasted that and got mostly question marks.

Russian page specified lang="ru" charaterset is UTF-8

The odd part is inside me editor its all displaying correctly

I know this is outside the Vbet tool but would love some insight on how vbet does it on my russian pages perfectly after translations.

https://www.allfreechips.com/ru/

thanks!
Chris

vBET
24-10-17, 19:04
Most probably your database have different encoding, so when you put good text there it is taken as something else. vBET knows does database is in UTF-8 and text can be stored as it is, or it has different encoding and we have to store text in special way (see function vbet_encodeToSafeUTF8).

ctrenks
24-10-17, 21:24
Thank you, ill look into it

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translated to other languages supported by vB Enterprise Translator 4.9.2