What encoding better to select ?

  • Follow


what encoding better to select when paste javascript or php code into
windows Notepad and 'Save as'? ANSI, Unicode, Unicode big endian, UTF-8
?

m.

0
Reply polychrom (92) 10/24/2006 2:17:59 PM

mistral said the following on 10/24/2006 10:17 AM:
> what encoding better to select when paste javascript or php code into
> windows Notepad and 'Save as'? ANSI, Unicode, Unicode big endian, UTF-8
> ?

The default - ANSI.

-- 
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
0
Reply Randy 10/24/2006 2:36:27 PM


"Randy Webb =D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0=B0):
"
> mistral said the following on 10/24/2006 10:17 AM:
> > what encoding better to select when paste javascript or php code into
> > windows Notepad and 'Save as'? ANSI, Unicode, Unicode big endian, UTF-8
> > ?
>
> The default - ANSI.
>
> --
> Randy
> Chance Favors The Prepared Mind
> comp.lang.javascript FAQ - http://jibbering.com/faq
> Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractice=
s/
-----------

What?? Why? I've saved all my script in UTF-8.

m=2E

0
Reply mistral 10/24/2006 3:17:17 PM

mistral a écrit :
> "Randy Webb писал(а):
> "
>> mistral said the following on 10/24/2006 10:17 AM:
>>> what encoding better to select when paste javascript or php code into
>>> windows Notepad and 'Save as'? ANSI, Unicode, Unicode big endian, UTF-8
>>> ?
>> The default - ANSI.

> What?? Why? I've saved all my script in UTF-8.

That's good, my text-editor will be able to read it
(ANSI ... I don't know if he can)
0
Reply ASM 10/24/2006 5:03:55 PM

mistral said the following on 10/24/2006 11:17 AM:
> "Randy Webb писал(а):
> "
>> mistral said the following on 10/24/2006 10:17 AM:
>>> what encoding better to select when paste javascript or php code into
>>> windows Notepad and 'Save as'? ANSI, Unicode, Unicode big endian, UTF-8
>>> ?
>> The default - ANSI.
> What?? Why? I've saved all my script in UTF-8.

That begs to ask why you even bothered to ask the question to start 
with. But I have never changed the encoding in Notepad and I have never 
had anybody tell me they couldn't open it in any text editor on any OS.

Your newsreader is broken.

-- 
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
0
Reply Randy 10/24/2006 9:54:10 PM

Randy Webb a écrit :
> I have never 
> had anybody tell me they couldn't open it in any text editor on any OS.

fastoche : pas d'accent !

easy : no accent in your text ...

-- 
ASM
0
Reply ASM 10/24/2006 11:04:17 PM

"Randy Webb wrote:
"
> mistral said the following on 10/24/2006 11:17 AM:
> > "Randy Webb wrote:
"
> mistral said the following on 10/24/2006 10:17 AM:
> what encoding better to select when paste javascript or php code into
> windows Notepad and 'Save as'? ANSI, Unicode, Unicode big endian, UTF-8 ?
----

> The default - ANSI.
---

> What?? Why? I've saved all my script in UTF-8.
---

> That begs to ask why you even bothered to ask the question to start
> with. But I have never changed the encoding in Notepad and I have never
> had anybody tell me they couldn't open it in any text editor on any OS.

> Your newsreader is broken.

--
> Randy
> Chance Favors The Prepared Mind
> comp.lang.javascript FAQ - http://jibbering.com/faq
> Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
----------

Just read somewhere that code need be saved in utf-8. However, probably
that was wrong info. Win98 notepad have no encoding selector, its in
win XP notepad.
Now its clear. Thanks.

M.

0
Reply mistral 10/24/2006 11:09:35 PM

6 Replies
233 Views

(page loaded in 0.082 seconds)

Similiar Articles:













7/29/2012 10:17:34 AM


Reply: