Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2005
    Location
    Prague
    Posts
    151
    Plugin Contributions
    0

    Default russian chars dosnt show

    I mean it is bag.
    I make update from 1.3. to 1.3.5 and cant write russian in categories description.

    For exclude my foult I make new installation and set 3 languages.
    Set russian language in admin zone - edit CHARSET
    When Im use charset like iso-8859-1 system show me only first 3 letters of russian word. It is standart situation - I see it in 1.2.7 cose I need to use right (russian) charset.

    When Im set russian charset windows-1251 and put Categories description in russian - system dosnt put any letters to descriptions. Just see empty description field.

    HTML cource show <meta http-equiv="Content-Type" content="text/html; charset=windows-1251">

    If I edit categorie name directly in database - categorie name look like "Категори тесС"

    Server OS: FreeBSD 6.1-RELEASE-p3
    Database: MySQL 5.0.22

  2. #2
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: russian chars dosnt show

    Yes. It's a bug. Your bug. I use 1.3.5 with russian chars without ANY problem.

    When you "edit categorie name directly in database" you use utf-8.

  3. #3
    Join Date
    Feb 2005
    Location
    Prague
    Posts
    151
    Plugin Contributions
    0

    Default Re: russian chars dosnt show

    ha ha. really funny...
    Im dont need edit it in DB directly.... I need edit it in admin zone.

    Need solution or help where I need to search problem

  4. #4
    Join Date
    Feb 2005
    Location
    Prague
    Posts
    151
    Plugin Contributions
    0

    Default Re: russian chars dosnt show

    DONE

    Im find solution on czech forum

    Need ot add code to query_factory.php file
    after line 38
    mysql_query("set names cp1251");

    It is worked for me

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: russian chars dosnt show

    Thanks for the update on this ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Jul 2004
    Posts
    47
    Plugin Contributions
    0

    Default Re: russian chars dosnt show

    Hello Maxus
    i tryed your solution without success
    here is what i have from line 1 to 54 in /includes/classes/db/mysql/query_factory.php :

    Code:
    <?php
    //
    // +----------------------------------------------------------------------+
    // |zen-cart Open Source E-commerce                                       |
    // +----------------------------------------------------------------------+
    // | Copyright (c) 2003 The zen-cart developers                           |
    // |                                                                      |
    // | http://www.zen-cart.com/index.php                                    |
    // |                                                                      |
    // | Portions Copyright (c) 2003 osCommerce                               |
    // +----------------------------------------------------------------------+
    // | This source file is subject to version 2.0 of the GPL license,       |
    // | that is bundled with this package in the file LICENSE, and is        |
    // | available through the world-wide-web at the following url:           |
    // | http://www.zen-cart.com/license/2_0.txt.                             |
    // | If you did not receive a copy of the zen-cart license and are unable |
    // | to obtain it through the world-wide-web, please send a note to       |
    // | [email protected] so we can mail you a copy immediately.          |
    // +----------------------------------------------------------------------+
    // $Id: query_factory.php 1279 2005-05-01 21:01:37Z drbyte $
    //
    
    
    class queryFactory {
    
      function queryFactory() {
        $this->count_queries = 0;
        $this->total_query_time = 0;
      }
    
      function connect($zf_host, $zf_user, $zf_password, $zf_database, $zf_pconnect = 'false', $zp_real = false) {
    //@TODO error class required to virtualise & centralise all error reporting/logging/debugging
        $this->database = $zf_database;
    
        // pconnect disabled
        if (!$zf_pconnect == 'false') {
          $this->link = @mysql_connect($zf_host, $zf_user, $zf_password);
        } else {
          $this->link = @mysql_connect($zf_host, $zf_user, $zf_password);
        }
        if ($this->link) {
          if (@mysql_select_db($zf_database, $this->link)) {
            $this->db_connected = true;
            return true;
          } else {
            $this->set_error(mysql_errno(),mysql_error(), $zp_real);
            return false;
          }
        } else {
          $this->set_error(mysql_errno(),mysql_error(), $zp_real);
          return false;
        }
      }
    Any Idea ?

    Thanks

    Michael

  7. #7
    Join Date
    Apr 2008
    Posts
    13
    Plugin Contributions
    0

    Default Re: russian chars dosnt show

    i tried too, doesn't work in my files

 

 

Similar Threads

  1. v151 Russian filter, Russian search problemo
    By eugene007 in forum General Questions
    Replies: 0
    Last Post: 12 Feb 2014, 05:05 AM
  2. Russian Language characters showing as ????? chars
    By Ms_X in forum Addon Language Packs
    Replies: 23
    Last Post: 10 Mar 2011, 01:04 AM
  3. e-mail special chars
    By Monsz in forum General Questions
    Replies: 0
    Last Post: 21 Feb 2008, 05:45 PM
  4. chars/letters problem
    By K.Inutt in forum General Questions
    Replies: 0
    Last Post: 6 Jan 2007, 03:48 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR