|
From: | J S |
Subject: | bug#35766: emacs saves utf-16 le xml files as utf-16 be |
Date: | Fri, 17 May 2019 20:16:41 +0000 |
For example, if I save this xml file in emacs, it saves it as utf-16 big endian:
<?xml version="1.0" encoding="UTF-16"?>
If I do this in powershell (really a .net method), it saves it as utf-16 little endian (osx or windows):
[xml]$xml = get-content file.xml
$xml.save('file.xml')
From: Eli Zaretskii <address@hidden>
Sent: Friday, May 17, 2019 7:46 PM To: J S Cc: address@hidden; address@hidden Subject: Re: bug#35766: emacs saves utf-16 le xml files as utf-16 be > From: J S <address@hidden>
> CC: "address@hidden" <address@hidden> > Date: Fri, 17 May 2019 16:57:23 +0000 > > When an xml file just says encoding="UTF-16", how does an application pick big endian vs little endian? What is "an application" in this context? |
[Prev in Thread] | Current Thread | [Next in Thread] |