[Asterisk-Users] Editing Asterisk config files with WORD Pad
Adam Goryachev
mailinglists at websitemanagers.com.au
Wed Nov 16 04:34:15 MST 2005
On Tue, 2005-11-15 at 09:35 -0800, trixter aka Bret McDanel wrote:
> On Tue, 2005-11-15 at 11:56 -0500, Jason Pyeron wrote:
> > a unicode document comes in two flavors UTF8 and UCS2 in windows UTF8
> > "may" work, but UCS2 cannot work, as it is 2 bytes per character.
> >
> > UTF8 will not work if wordpad puts a byte order sentinal at the begining
> > or if you use any characters above 0x7e (or 0x7f?)
> >
> > use ascii (DOS format) to save your files, but beware of line ending
> > problems...
> >
>
> dos2unix (if installed) can fix the line termination problem..
>
[SNIP]
All those solutions are fine, but IMHO, the simplest and best solution
is to simply tell filezilla to upload the file in ASCII. The FTP
protocol already takes into account that different systems handle line
ending differently, and will look after it for you, as long as you tell
it you are transferring a text file. Usually most FTP software will use
binary transfers by default....
PS, of course, if filezilla doesn't support ascii transfers, there are
many other programs that will :) Don't change the editor, just the
transfer application <G>
Regards,
Adam
More information about the asterisk-users
mailing list