Special characters.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Defacta

    Special characters.

    Hi,

    When I put in a textarea some french charactes, when I get them back
    with a SQL request, all is correct.

    With phpMyAdmin, in the database, I can see this:

    Et voilà que la star de l\'Internet met cette fois la voûte
    céleste à portée de souris grâce à une nouvelle option baptisée

    But on another server, with the same PHP code, in the database I have
    this:

    Et voilà que la star de l'Internet met cette fois la voûte
    céleste à portée de souris grâce à une nouvelle optionbaptisée

    Knowing that the PHP code is the same and the browsers too, which
    difference in the config files (PHP or MySQL) can affect the
    characters ?

    Thanks,
    Vincent.

  • Jerry Stuckle

    #2
    Re: Special characters.

    Defacta wrote:
    Hi,
    >
    When I put in a textarea some french charactes, when I get them back
    with a SQL request, all is correct.
    >
    With phpMyAdmin, in the database, I can see this:
    >
    Et voilà que la star de l\'Internet met cette fois la voûte
    céleste à portée de souris grâce à une nouvelle option baptisée
    >
    But on another server, with the same PHP code, in the database I have
    this:
    >
    Et voilà que la star de l'Internet met cette fois la voûte
    céleste à portée de souris grâce à une nouvelle option baptisée
    >
    Knowing that the PHP code is the same and the browsers too, which
    difference in the config files (PHP or MySQL) can affect the
    characters ?
    >
    Thanks,
    Vincent.
    >
    I'd say more probably MySQL.

    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    Working...