On 07/30/14 01:14, Carsey, Jaben wrote:
> I think that the question is:
> 
> Should appending to a non-existent UNICODE file automatically write the
> FFFE?

In my opinion, yes.

- The non-appending, unicode, stdout redirection, ">", already does
  that (ie. write the BOM), and when the file doesn't exist, ">>"
  should be consistent with ">".

- The early encoding checks for append mode don't allow cross-encoding.
  We either declare those checks wrong, or we make the creation case of
  ">>" compliant with them. In my opinion, the checks are correct in
  their current form, so what needs to be fixed is the creation case of
  ">>".

Thanks
Laszlo

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to