realbasic-nug.it
[Top] [All Lists]

Re: Encoding

To: REALbasic NUG Italian <realbasic-nug dot it at lists dot realsoftware dot com>
Subject: Re: Encoding
From: Massimo Valle <maxduepuntozero at yahoo dot it>
Date: Sun, 12 Mar 2006 21:45:44 +0100
Delivered-to: realbasic-nug dot it at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Received:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer; b=aHb2dMQ7TzIS/bMmDvOGYVtP6OOk6HXXqdIoS/D5DaYym/VZnHuYFDxa/liLzxRwp3KcmwUArQmk5lMJvwePymn6kYT7pcxJodGOlvFk7GLbgjUbp6LHYI0I58yzLtl6jk1ben8qtrOSiLLkqtQGESo8L99+bOYfBzxhBb5sxXA= ;
References: <BF464F82-C43C-4BC8-8EAA-250067BE6A81 at ticino dot com>

On 12/mar/06, at 20:38, Matteo Cortonesi wrote:

Ciao,

Non riesco a capire come mai il seguente codice non mi fa apparire una "è" nell'editfield:

EditField1.text = chr(asc("è"))
oppure anche:
EditField1.text = chrb(ascb("è"))

Se qualcuno fosse così gentile da spiegarmelo gliene sarei grato.

Grazie
Matteo

E' effettivamente un problema di encoding.
scrivilo così:

editField1.text = encodings.UTF8.chr(asc("è"))

Ciao

Massimo



___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it


<Prev in Thread] Current Thread [Next in Thread>