Visualizzazione dei risultati da 1 a 6 su 6

Discussione: DATI IN CINESE

  1. #1

    DATI IN CINESE

    Ciao a tutti,
    ho questo problemino
    ho creato il mio solito DB per le news
    che l'utente si inserisce con il suo pannello.

    Il problema che il cliente le scrive in ideogrammi cinesi,
    li scrive giusti ma vengono visualizzati poi come codici ASCII e non in ideogrammi.

    C'č qualche cosa che devo impostare su Apache/MySQL/PHP?


    grazie mille in anticipo
    PCTLC
    www.pctlc.it
    _______________________________
    Informatica & Telecomunicazioni

  2. #2
    niente per me?
    PCTLC
    www.pctlc.it
    _______________________________
    Informatica & Telecomunicazioni

  3. #3
    niente di nuovo?
    PCTLC
    www.pctlc.it
    _______________________________
    Informatica & Telecomunicazioni

  4. #4
    che database usi e che versione č ?
    il charset č giusto ?
    sfrutti unicode ?
    come passi i dati ?
    come recuperi i dati ?
    Formaldehyde a new Ajax PHP Zero Config Error Debugger

    WebReflection @WebReflection

  5. #5
    ciao andr3a

    allora il db č mysql 4.0.25-nt

    i charset che cosa intendi (pardon ignoranza)?

    i dati nella pagina che fa' l'insert into tabella se li prende con il classico $_POST

    i dati li seleziono dal db con la query classica select * from tabella where... e dentro il ciclo while gli faccio la classica echo"$pippo[variabile]";




    attendo tue preziose info
    ciao
    PCTLC
    www.pctlc.it
    _______________________________
    Informatica & Telecomunicazioni

  6. #6
    Nn capisco se il problema č locale o meno.Hai istallato sul tuo pc il set di caratteri corretto?
    Imposti il charset corretto? Nel caso prova una cosa del genere nella pagina di visualizzazione delle news:
    codice:
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    qui eventualmente hai la lista dei charset. Cerca quelli relativi al cinese.
    Eventualmente prova a dare una scorsa qui. Quoto la parte che dovrebbe interessarti
    A common strategy for applications built using MySQL 4.0 that needed to handle data in multi-byte character encodings (such as UTF-8) that were not supported natively was to simply store the data in VARCHAR fields (or TEXT, CHAR, etc). The application would either ignore the fact that MySQL would simply sort the data incorrectly for strings that weren't really in the character set that the server thought they were, or do the sorting in the application. That strategy worked fine, you just had to handle all of the encoding issues in your application, and you also lost the ability to take full advantage of MySQL's full-text searching.
    dA .. foto di viaggio
    L'esperienza č il tipo di insegnante pių difficile.
    Prima ti fa l'esame, e poi ti spiega la lezione.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.