Jonathan Ballet wrote:
> Philippe Lhoste a écrit :
> 
>>Jonathan Ballet wrote:
>>
>>
>>>I have a few questions about using Scite :
>>>
>>>- I often use the utf-8 charset for my file (code.page=65001 in
>>>SciTEUser.properties), but sometimes, I would like to use another
>>>charset, like iso-8859-15. How could I do to quickly switch between
>>>those two charsets, without editing my properties file, and
>>>comment/uncomment the corresponding lines ?
>>
>>
>>You can quickly switch between 8-bit encoding and various Unicode
>>encodings with the File | Encoding menu.
>>
>>HTH.
> 
> 
> Hum, I remember that I always use 8-bit encoding and utf-8 charset,
> beacause of BOM problem (when using PHP, BOM is not very session
> compliant ;) )
> Maybe the "UTF-8 Cookie" encoding don't have BOM ?
> 

Indeed it doesn't. I've been using /* -*- coding: utf-8 -*- */ for PHP
files without XML declaration in the file itself, but /* coding=utf-8 */
or /* coding: utf-8 */ should work equally as well.

Or, you can just use <<? ?>?xml version="1.0" encoding="UTF-8"?<? ?>>
(the extra ?'s make PHP act nice) :)

HTH,

-- 
Alphax                      |   /"\
Encrypted Email Preferred   |   \ /     ASCII Ribbon Campaign
OpenPGP key ID: 0xF874C613  |    X   Against HTML email & vCards
http://tinyurl.com/cc9up    |   / \
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to