in reply to Re: Re: Unicode source code problem in 5.6.1
in thread Unicode source code problem in 5.6.1
Hmm. I guess that might work much of the time. Of course, the code is displayed incorrectly.
When you download the code, you should get the correct byte stream but tagged as Latin-1. If the code is saved in a UTF-8-aware file system (since you are trying to write code in UTF-8), the bytes would be converted from Latin-1 to UTF-8 which would give you different bytes. Even if you save the code using only one-byte characters, translation could happen because the browser knows the operating system expects results in something besides Latin-1, like an OEM encoding (such as "code page 437" in Windows).
I'd think that most current "save as" operations would just save bytes and ignore encodings so you'd get the desired byte values. But I wouldn't bet on that.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (tye)Re3: Unicode source code problem in 5.6.1
by John M. Dlugosz (Monsignor) on Nov 18, 2002 at 21:33 UTC |