js file not Big Endian

I wrote some javascript to test out in the iHD simulator. When I try to play the content I get the error:

"Script is not Big Endian"

I haven't heard a reference to big endian storage since my mainframe days. Do I need to convert my javascript to big endian? And if so how do I do that on an XP box?

[313 byte] By [wmerydith] at [2008-2-3]
# 1
It looks like Eclipse uses little endian, whereas textpad uses big endian (I think). Or at least I can write all my js in textpad and that works.

Weird.

wmerydith at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 2
Per the HD DVD spec, all JavaScript files must be UTF-16, Big Endian (with BOM). XML files can be UTF-8 or UTF-16 and should include which encoding they're using in the XML header.
BadAnalog at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 3

We use Notepad on XP to convert the files. File / Save As / Encoding

AndyPennellMSFT at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 4
Visual Studio will also do it when you Save As... and choose the drop-down arrow in the dialog to "Save with encoding..."
PeterTorr-MSFT at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 5

Bad Analog wrote:
Per the HD DVD spec, all JavaScript files must be UTF-16, Big Endian (with BOM). XML files can be UTF-8 or UTF-16 and should include which encoding they're using in the XML header.

Right. I usually use Notepad to convert one encoding format to others.

QimingLu at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 6

I've found Eclipse had 3 settings, 'UTF-16BE', 'UTF-16LE', and just 'UTF-16'.

For me, UTF-16BE didn't work, but setting it to just UTF-16 gave it the BOM it needed and worked fine.

numberonesuperguy at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...