Webpage Charset

Results 1 to 9 of 9
  1. #1
    Tantra Freelancer A v a r a is offline
    MemberRank
    Apr 2014 Join Date
    In Your HeadLocation
    554Posts

    Webpage Charset

    Does anyone know how to eliminate/remove or at least allow UTF-8 or UNICODE in Ranking page? To allow special characters especially in Ashram names?

    Thanks in advance.


  2. #2
    Ronin Dev John is offline
    MemberRank
    Mar 2011 Join Date
    /dev/nullLocation
    382Posts

    Re: Webpage Charset

    HTML:
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    Into <head></head>

    PHP:
    header('Content-Type: text/html; charset=utf-8');
    After of <?php

  3. #3
    Tantra Freelancer A v a r a is offline
    MemberRank
    Apr 2014 Join Date
    In Your HeadLocation
    554Posts

    Re: Webpage Charset

    Quote Originally Posted by John View Post
    HTML:


    Into <head></head>

    PHP:


    After of <?php
    Hi @John

    Thank you for that information. Unfortunately I already have that coding in my header section. Somehow it will work if I try to change it to ISO-8859-1 but some bom (byte on mark - correct me if I am wrong) appearing in some pages.

  4. #4
    Ronin Dev John is offline
    MemberRank
    Mar 2011 Join Date
    /dev/nullLocation
    382Posts

    Re: Webpage Charset

    Quote Originally Posted by elitegeek View Post
    Hi @John

    Thank you for that information. Unfortunately I already have that coding in my header section. Somehow it will work if I try to change it to ISO-8859-1 but some bom (byte on mark - correct me if I am wrong) appearing in some pages.
    You can change the charset for anything:

    HTML:
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    Into <head></head>

    PHP:
    header('Content-Type: text/html; charset=ISO-8859-1');
    After of <?php

  5. #5
    Tantra Freelancer A v a r a is offline
    MemberRank
    Apr 2014 Join Date
    In Your HeadLocation
    554Posts

    Re: Webpage Charset

    Quote Originally Posted by John View Post
    You can change the charset for anything:

    HTML:


    Into <head></head>

    PHP:


    After of <?php
    Yeah but it doesn't fully fix the problem mate since byte-order mark (bom) character is appearing in some pages. Do you know how to fix this?

    Ciao!

  6. #6
    Ronin Dev John is offline
    MemberRank
    Mar 2011 Join Date
    /dev/nullLocation
    382Posts

    Re: Webpage Charset

    Honestly I have no idea, seems the sql cannot interpret some ASCII codes.

  7. #7
    Tantra Freelancer A v a r a is offline
    MemberRank
    Apr 2014 Join Date
    In Your HeadLocation
    554Posts

    Re: Webpage Charset

    Quote Originally Posted by John View Post
    Honestly I have no idea, seems the sql cannot interpret some ASCII codes.
    I think its not SQL's fault and ISO-8859-1 is working fine with webzonegamerz webpages. The only thing left hanging in the page is the byte-order mark characters. I want to locate these characters and eliminate it in the webpages but in the actual file its not there. It will only appear once the page loads.

  8. #8
    Developer Terrified is offline
    MemberRank
    Dec 2013 Join Date
    Six MountainsLocation
    229Posts

    Re: Webpage Charset

    i believe it is in your computer browser... have you tried other computer with just a very basic installation, browser and fonts?

  9. #9
    Tantra Freelancer A v a r a is offline
    MemberRank
    Apr 2014 Join Date
    In Your HeadLocation
    554Posts

    Re: Webpage Charset

    Quote Originally Posted by Terrified View Post
    i believe it is in your computer browser... have you tried other computer with just a very basic installation, browser and fonts?
    I already tried it in several computers sir but no luck and now what I am actually looking for a solution for is how to get rid of this byte-order mark characters in my webpage. Its is not present in my actual php files but when it goes to browsers (chrome, safar, ei, ff) this annoying character showing up.

    Code:
    



Advertisement