Re: [edk2] write file in the USB Device

2015-05-22 Thread Andrew Fish
> On May 22, 2015, at 1:38 PM, KSilva wrote: > > Andrew > > > > The program writes in the file, but when i will see in "gedit" say : ERROR > OPEN : ENCODE UNIDENTIFIED > > I try put: LATIN1, UTF8, Unicode, but doesn't worked. > EFI is UCS-2, which is a subset of UTF-16. > If I want write

Re: [edk2] write file in the USB Device

2015-05-22 Thread KSilva
Andrew The program writes in the file, but when i will see in "gedit" say : ERROR OPEN : ENCODE UNIDENTIFIED I try put: LATIN1, UTF8, Unicode, but doesn't worked. If I want write "APOLOGY" With the EFI SHELL showed: edit text.txt I will see: A But if I open the file created with LibreOffice

Re: [edk2] write file in the USB Device

2015-05-22 Thread Aaron . Pop
in the USB Device On May 22, 2015, at 12:24 PM, KSilva wrote: Hello, I am trying write in file in the USB device, I am using the protocol EFI_SIMPLE_FILE_SYSTEM_PROTOCOL with EFI_FILE_PROTOCOL,The file is create and opened,but I don't get to write, in the file shows only first letter

Re: [edk2] write file in the USB Device

2015-05-22 Thread Andrew Fish
> On May 22, 2015, at 12:24 PM, KSilva wrote: > > Hello, I am trying write in file in the USB device, I am using the protocol > EFI_SIMPLE_FILE_SYSTEM_PROTOCOL with EFI_FILE_PROTOCOL,The file is create > and opened,but I don't get to write, in the file shows only first letter. > I did not see

[edk2] write file in the USB Device

2015-05-22 Thread KSilva
Hello, I am trying write in file in the USB device, I am using the protocol EFI_SIMPLE_FILE_SYSTEM_PROTOCOL with EFI_FILE_PROTOCOL,The file is create and opened,but I don't get to write, in the file shows only first letter. Someone help me? Status = gBS->LocateHandleBuffer(ByProtocol,