# Save as UTF-16BE command

## Summary

Saves the current file using Unicode (UTF-16BE) encoding.

## Description

This command saves the current file using the Unicode (UTF-16BE) encoding, unless the document is untitled.
If the document is untitled, the **Save As** dialog box appears,
which allows you to enter a file name to save the file as.

## How to Run

- Default Menu: None
- [All Commands](/en/cmd/tools/all_commands): **File** \> **Save**
\> **Save with Encoding** \> **Save as UTF-16BE**
- Toolbar: None
- Status Bar: None
- Default Shortcut Key: None

## Plug-in Command ID

```
EEID_FILE_SAVE_UNICODE_BIGENDIAN (4260)
```

## Macros

### \[JavaScript\]

```javascript
editor.ExecuteCommandByID(4260);
```

### \[VBScript\]

```vbscript
editor.ExecuteCommandByID 4260
```
