S
ssk
Hello!
This might be a dumb question.
An XML file starts with a line like the following line.
<?xml version="1.0" encoding="ISO-8859-1"?>
So an application knows what encoding the file is.
However, how does an application read the first line without knowing
what encoding it is?
That is...
To know what encoding it is, it should read the first line.
To read the first line, it should know what encoding it is.
Isn't this a chicken and egg issue?
Am I missing an important point?
TIA.
Sam
This might be a dumb question.
An XML file starts with a line like the following line.
<?xml version="1.0" encoding="ISO-8859-1"?>
So an application knows what encoding the file is.
However, how does an application read the first line without knowing
what encoding it is?
That is...
To know what encoding it is, it should read the first line.
To read the first line, it should know what encoding it is.
Isn't this a chicken and egg issue?
Am I missing an important point?
TIA.
Sam