Unexpected character at the beginning of a file created with Notepad on Windows - How to remove it? (Doc ID 1548512.1)

Last updated on JULY 29, 2016

Applies to:

Solaris Operating System - Version 10 3/05 and later
Information in this document applies to any platform.

Goal

When you are trying to open a file on Solaris system and the file was created by Notepad and saved in Unicode or UTF-8 mode on Windows,
you will see unexpected character at the beginning of the file.

This document explains what is that character and how to remove it.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms