Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2007
    Posts
    15
    Plugin Contributions
    0

    Default Encoding issiues

    I hope I a posting in the right thread.

    Well i am translating zen to slovene language. The thing is I cannot use any of the centra european encoding ('windows-1250' or 'ISO 8859-2') because everytime I use one of those encodings I get an error.

    I get this error:
    Warning: Cannot modify header information - headers already sent by (output started at .../zen/includes/languages/slovene.php:2) in ..../zen/includes/init_includes/init_templates.php on line 78
    Am I suposed to write anything in this line 78?
    * send the content charset "now" so that all content is impacted by it
    */
    header("Content-Type: text/html; charset=" . CHARSET);
    Please help!!!

  2. #2
    Join Date
    Feb 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: Encoding issiues

    Oh, I forgot to mention. When slovenian.php is saved in one of the central european encodings, all the letters became large and strange.

    Sample

  3. #3
    Join Date
    Sep 2007
    Posts
    16
    Plugin Contributions
    0

    Default Re: Encoding issiues

    Hi mish,

    When I using zencart, I got the same problem with you.

    Code:
    Warning: Cannot modify header information - headers already sent by....
    I fixed already

    At line 78, you add a @ before header. Look at code below:

    Code:
    @header("Content-Type: text/html; charset=" . CHARSET);

    But I don't know how to fix the second problem. When I save /includes/languages/mycustom.php at another encoding... all the letters became large and strange, and my site go to left align...

    I has posted a new thread to ask this problem, hope I got some suggestion....


    Necro

 

 

Similar Threads

  1. Encoding problem
    By wilsonshen in forum General Questions
    Replies: 4
    Last Post: 12 Mar 2011, 03:16 AM
  2. Encoding issue
    By Luxifer in forum General Questions
    Replies: 0
    Last Post: 26 Oct 2010, 08:18 PM
  3. Encoding Problem !!
    By Processor in forum Addon Language Packs
    Replies: 4
    Last Post: 21 Aug 2010, 03:50 AM
  4. Encoding Bug
    By ErikAllan in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 27 Oct 2009, 11:54 PM
  5. account_history_info ENCODING Trouble
    By pivey in forum General Questions
    Replies: 6
    Last Post: 2 Jan 2007, 10:07 PM

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