View Single Post
  #2 (permalink)  
Old 12-08-2007, 03:47 PM
specci48's Avatar
specci48 specci48 is offline
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 638
Default

Hallo mclane,

bist Du sicher, dass die Datei im ASCII-Format vorliegt, und nicht im Windows-konformen ANSI? Öffne Deine Datei mal mit dem Windows Notepad. Wird sie korrekt angezeigt? Falls ja, dann hast Du eine ANSI und keine ASCII Datei...

Wenn die Datei im Notepad korrekt sichtbar ist, dann mache folgendes:
Wähle Speichern unter..., unter dann in der Combobox "Codierung" das Format UTF-8. UTF-8 ist das Standardfomat bei Basic4ppc.

Nun solltest Du die Datei mit
Code:
FileOpen(f1, Dateiname,cRead)
problemlos einlesen und anzeigen können.


specci48
Reply With Quote