i habe Probleme mit German "Umlaute" am Beispiel : SCHÖN.MP3
mit Directory() erhalte ich Zeile 1 der Anlange ... sieht nicht schÖn aus
Code: Alles auswählen
aDir := Directory("*.MP3")
cFile := aDir[1][F_NAME]
? FILE(cFile) -> .T.
oPlayer:URL := cFile -> aber der Player startet NICHT
Code: Alles auswählen
cFile := ConvToOemCP(aDir[1][F_NAME])
? FILE(cFile) -> .F.
oPlayer:URL := cFile -> OK Player startet jetzt
! Achtung : Zeile 1 sieht anders aus als Zeile 3
Code: Alles auswählen
cFile := XbpFileDialog(....)
? FILE(cFile) -> .T.
oPlayer:URL := cFile -> aber Player startet wieder NICHT
Code: Alles auswählen
cFile := XbpFileDialog(....)
cFile := ConvToOemCP(cFile)
? FILE(cFile) -> .F.
oPlayer:URL := cFile -> OK Player startet
wie cann ich File() zusammen mit ConvToOemCP() benutzten
damit mein "Player" startet UND File() = .T. zurÜck gibt ? ( Line 2/4)
gruss by OHR
Jimmy
[img]
file://C:\BRIEFE\SCHÖN.JPG
[/img]