Forums / Addon Language Packs / Russian Language characters showing as ????? chars

Russian Language characters showing as ????? chars

Views: 9,002

Results 21 to 24 of 24
6 Mar 2011, 1:52 PM
#21
ms_x avatar

ms_x

Zen Follower

Join Date:
Mar 2010
Posts:
196
Plugin Contributions:
0

Russian Language characters showing as ????? chars

DrByte:

Either is fine. Before is okay. After is okay.
Dr Byte,

Thanks a lot for your help...

I am still with the same problem :if I change russian.php file's encoding to utf without BOM, then instead of russian words on the websote i see funny characters. If I change encoding back to ANSI,everything looks fine again.:shocking:

6 Mar 2011, 6:48 PM
#22
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Russian Language characters showing as ????? chars

So, when you have things set so CHARSET and LC_TIME etc are set to appropriate values for russian characters, you say you're getting garbage on the screen.
When that happens, click your browser's View menu, and look at the Character Encoding section. What's it set to?
Then click your browser's View menu and choose View Source / View Page Source. What does it say near the top for lang= and charset= ?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

9 Mar 2011, 11:52 PM
#23
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: Russian Language characters showing as ????? chars

DrByte, I have done the my_db_charset.php suggestion both on the admin and catalog side. However, the admin is still showing the question mark symbol � instead of ™. The changes to english.php have also been done, database updated to utf8_general_ci, etc. Everything on the catalog side is showing as expected.

10 Mar 2011, 12:04 AM
#24
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Russian Language characters showing as ????? chars

So, which piece is not UTF8 then? Lang file? Database content? Browser display?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.