You are not logged in.

#1 2006-10-03 14:17:14

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

UTF8 and ISO-8859-1

Hello everyone.

We all finally got over the utf8-change on the system. But there occurs one problem.

I'm using arch/linux for software development in my company. The files should definitely not be saved and written in UTF8, but in ISO-8859-1 format.

I've got the thing now that actually kate can convert this, but i'm bored of changing the encoding all the time over and over again i hopen kate or a file.

Does anyone know a way to tell kate i want a default iso-8859-1 encoding for my files?

Thanks,
STi


Ability is nothing without opportunity.

Offline

#2 2006-10-03 15:08:56

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: UTF8 and ISO-8859-1

If you use only standard ASCII chars in your text then UTF-8 files will be exactly the same as ISO-8859-1. I see that you are from Austria and most probably your text contains non-English chars, if it is not pure code with comments in English. This is just a reminder, just in case.


to live is to die

Offline

#3 2006-10-03 18:55:13

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: UTF8 and ISO-8859-1

You could try:   (kate menu bar)  Settings -> Configure Kate -> (Editor) Open/Save

(at least in the English version)

Then at the top there is File Format / Encoding.

Offline

#4 2006-10-03 19:01:43

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: UTF8 and ISO-8859-1

or perhaps alias kate='LANG=C LC_ALL=C kate" would work. or a shell script or a...


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#5 2006-10-04 07:22:53

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: UTF8 and ISO-8859-1

Hmh, that mus be because i get old and start being blind.

Thanks gradgrind... works flawlessly.

// STi


Ability is nothing without opportunity.

Offline

Board footer

Powered by FluxBB