Pagina 1 di 3 1 2 3 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 21
  1. #1
    Utente di HTML.it
    Registrato dal
    Dec 2005
    Messaggi
    18

    Carattere speciale per il punto

    Salve a tutti,
    stò testando il codice che ho fatto, ma su valori tipo 15.000,00
    mi dà un errore sul punto dicendomi che non è riconosciuto.

    Qualcuno mi sa dire se c'è un codice che identifica il punto (.) come carattere speciale?

    Grazie

  2. #2

  3. #3
    Utente di HTML.it
    Registrato dal
    Dec 2005
    Messaggi
    18
    non stò utilizzando nessun linguaggio, direttamente con html 4.01 (non sono sicuro della versione)

  4. #4
    Potresti darci un link al report della validazione? Probabilmente il problema è più a monte.

  5. #5
    Utente di HTML.it
    Registrato dal
    Dec 2005
    Messaggi
    18
    Il sito non è online adesso.
    Il sito della validazione è w3c.org...il classico, ma il problema è sicuramente quello, ho fatto alcune prove prima di scrivervi. Mi serve un separatore per i numeri....

  6. #6
    Originariamente inviato da tommygio
    Il sito non è online adesso.
    Prova a fare una cosa. Validalo il locale come hai già fatto e copia-incolla il report qui.

    Te lo dico perchè mi pare strano che l'errore risieda in quel frangente: il punto non necessita di codifiche in entità.

  7. #7
    Utente di HTML.it
    Registrato dal
    Dec 2005
    Messaggi
    18
    Da premettere che non è sicuramente per l'euro, già trovato il codice in quel caso.
    Ecco l'errore:


    Below are the results of attempting to parse this document with an SGML parser.

    1. Error Line 243 column 23: non SGML character number 128.

    - da �� 154.937,07 a € 5.000.000,00 (al netto d'IVA) comunica

    You have used an illegal character in your text. HTML uses the standard UNICODE Consortium character repertoire, and it leaves undefined (among others) 65 character codes (0 to 31 inclusive and 127 to 159 inclusive) that are sometimes used for typographical quote marks and similar in proprietary character sets. The validator has found one of these undefined characters in your document. The character may appear on your browser as a curly quote, or a trademark symbol, or some other fancy glyph; on a different computer, however, it will likely appear as a completely different character, or nothing at all.

    Your best bet is to replace the character with the nearest equivalent ASCII character, or to use an appropriate character entity. For more information on Character Encoding on the web, see Alan Flavell's excellent HTML Character Set Issues reference.

    This error can also be triggered by formatting characters embedded in documents by some word processors. If you use a word processor to edit your HTML documents, be sure to use the "Save as ASCII" or similar command to save the document without formatting information.

  8. #8
    Hai usato l'entità € per il simbolo della nostra valuta?

  9. #9
    Utente di HTML.it
    Registrato dal
    Dec 2005
    Messaggi
    18
    si

  10. #10
    Controlla gli apostrofi, le virgole e i punti. Se li hai incollati da Word (o simili) è probabile che vengano inseriti mediante caratteri particolari, ma non codificati.

    Prova, semplicemente, a cancellare quei caratteri e a ridigitarli nel tuo editor web.

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 © 2025 vBulletin Solutions, Inc. All rights reserved.