English
Forum

UTF8

 

H.Brill
Hi,
Since I my .csv Files on my PDA use, Search I a
Possibility, these as UTF8 - stature To Save. MultibyteToWideChar()
goes Yes well with Strings, mere with area# I get not so there.
has someone already something like made or. a Codeschnipsel ?

Perhaps could Frank it indeed in WirteFileQuick() as zus. Parameter install.
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
11/03/07  
 




Jörg
Sellmeyer
but MultibyteToWideChar functions still anyhow with reaches and not Strings
CompileMarkSeparation
 $H Windows.ph
Declare Original#,Ziel#,Z$,L&
Z$=ABCDEFGHIJK
L& = Len(Z$)
Dim Original#,L& + 1
Dim Ziel#,L& * 2 + 1
String Original#,0 = Z$
~MultiByteToWideChar(1,1,Original#,L&,Ziel#,L& * 2)
Print Z$
Color 12,14
Print Char$(Ziel#,0,L& * 2)
Wa
t

or too so:
CompileMarkSeparation
 $H windows.ph
Var Original$=ABCDEFGHIJK
Var L& = Len(Original$)
Var target$ = Space$(L& * 2)
~MultiByteToWideChar(1,1,Addr(Original$),L&,Addr(target$),L& * 2)
Print Original$
Color 12,14
Print target$
WaitInput
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
11/03/07  
 




H.Brill
Oh thanks, Yes so goes it.
knew not, that the Zielbereich, into MultiByteToWideChar()
writes, twice so big his must and eachone area one byte longer
his must (+1).
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
11/03/07  
 




Jörg
Sellmeyer
Profanstrings having still one Nullbyte appended, therefore must one area always circa one larger his as The length the Strings.
That the double Size comes naturally therefore, that the String Yes on WideChar umgestellt becomes. so is the statement of More characters possible, since the Codierungszahlen larger are. with the einfachen set only $FF (256) characters possible.
with WideChar are it $FFFF (65536).
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
11/03/07  
 




Profanstrings having still one Nullbyte appended, therefore must one area always circa one larger his as The length the Strings.
That the double Size comes naturally therefore, that the String Yes on WideChar umgestellt becomes. so is the statement of More characters possible, since the Codierungszahlen larger are. with the einfachen set only $FF (256) characters possible.
with WideChar are it $FFFF (65536).


Siehste - and again Have I what moreover learnt
 
11/03/07  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

969 Views

Untitledvor 0 min.
Sven Bader07/13/21
Walter06/12/21
Georg Teles10/24/14
GC5709/09/14
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie