Article View: free.it.visual-basic
Article #1293Re: [HELP] programma bilingua italiano-russo (cirillico)
From: Rodriquez Marco
Date: Mon, 07 Jun 2004 15:05
Date: Mon, 07 Jun 2004 15:05
32 lines
2421 bytes
2421 bytes
Tratto da un paragrafo del libro di Internationalization with Visual Basic By Michael S. Kaplan (che a questo punto ti consiglio vivamente) http://www.i18nwithvb.com/chapters/Chapter06_en.htm Because most text and other files are saved as ANSI, all the file I/O functions in VB that deal with strings are once again handled the same way: Always convert the functions to ANSI, and, because there is no provision for choosing how conversions will happen, always use CP_ACP, the default system codepage. There is a means for completely avoiding all such conversions, however: a binary version of all the file i/o statements that does no extra conversions. To use this method, you would use InputB instead of Input, Write# instead of Print#, and, of course, open the file for binary I/O. -- El Cifi -- ha scritto: > Ho gestito le due lingue col file.res per� non riesco a scrivere su file in > cirillico. > Nella tabella delle stringhe visualizzo dei caratteri strani non cirillici, > per� se passati a una label con font opportuno, visualizzo i caratteri > cirillici. Questo non succede con la scrittura dei file. > Non funziona n� con print# n� col FileSystemObject.writeline > Grazie > Ciao -- questo articolo e` stato inviato via web dal servizio gratuito http://www.newsland.it/news segnala gli abusi ad abuse@newsland.it
Technical Details
Message-ID:
<ca207p$qtb$1@news.newsland.it>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.newsland.it!not-for-mailReferences:
<ca1caq$m73$1@lacerta.tiscalinet.it>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f94ee,58be863488ab5b67 X-Google-Thread: 10b997,58be863488ab5b67 X-Google-Attributes: gidf94ee,gid10b997,public Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.newsland.it!not-for-mail From: marcorod@tin.it (Rodriquez Marco) Newsgroups: free.it.visual-basic,it.comp.lang.visual-basic Subject: Re: [HELP] programma bilingua italiano-russo (cirillico) Date: Mon, 07 Jun 2004 17:05:30 +0200 Organization: http://www.newsland.it/ Lines: 34 Message-ID: <ca207p$qtb$1@news.newsland.it> References: <ca1caq$m73$1@lacerta.tiscalinet.it> NNTP-Posting-Host: 213.82.76.46 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.newsland.it 1086620731 27563 212.239.22.168 (7 Jun 2004 15:05:31 GMT) X-Complaints-To: abuse@newsland.it NNTP-Posting-Date: Mon, 7 Jun 2004 15:05:31 +0000 (UTC) User-Agent: www.newsland.it X-NL-Posting-Site: www.newsland.it X-NL-St: Trp.04Jun07@st.mynl.it X-HTTP-Posting-Host: 213.82.76.46