Re: ISO-8859-1

2019-10-31 Thread Glenn Holmer
On 10/30/19 1:25 AM, Juan Algaba wrote:
>> You can use the default option in the netbeans.conf
>>
>> -J-Dfile.encoding=UTF8 // change encoding

Thanks to everyone for all the suggestions. As it happens, upstream
edited all the German comments in the code to transliterate them (e.g. ö
--> oe), so there's no more need for a hack and I can continue to enjoy
NetBeans' superb git support while working on an obscure piece of 6502
code :)

For those who just have to know:
https://www.lyonlabs.org/commodore/onrequest/geckos-analysis.html

-- 
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."
<>
-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Re: ISO-8859-1

2019-10-29 Thread Jose Ch
You can use the default option in the netbeans.conf

-J-Dfile.encoding=UTF8 // change encoding

El mar., 29 oct. 2019 a las 11:44, Juan Algaba ()
escribió:

> I'd recommend downloading the excellent encoding support plugin
> http://plugins.netbeans.org/plugin/60487/encoding-support
>
> [image: image.png]
>
> Though every time you open a file you'd have to check in the corner if nb
> is assuming the right encoding and change it if necessary.
>
> When working without a project, Does anyone know if there's a default
> encoding or if Netbeans uses heuristics to guess the file's encoding?
>
> I tested by saving a file in ISO-8859-1 with characters that wouldn't have
> the same byte code in UTF-8 i.e. "áíó" and upon reopening it
> successfully detected it as ISO-8859-1 but I'm not sure if it detected it
> or if it "remembered" the last encoding I set.
>
> As a last resort, you could simply create a new "Project with existing
> sources" on an upper folder level and add your source directory as sources
> for such project, the project's only purpose would be to set the default
> encoding and nothing else.
>
>
> On Mon, Oct 28, 2019 at 1:42 PM Jack Woehr  wrote:
>
>> Hmm I see ...
>>
>> Doesn't actually seem to do much at all.
>>
>> On Mon, Oct 28, 2019 at 2:34 PM Jack Woehr  wrote:
>>
>>> I sorta gave up on plugins, even in NetBeans, and just do my own git
>>> stuff, so I hadn't noticed.
>>>
>>> What's short on jEdit's plugin?
>>>
>>>
>>> On Mon, Oct 28, 2019 at 1:25 PM Glenn Holmer 
>>> wrote:
>>>
>>>> On 10/28/19 1:33 PM, Jack Woehr wrote:
>>>> > Try jEdit
>>>>
>>>> I am :) We used to use it at work, back in prehistoric times before we
>>>> were using NetBeans. Unfortunately, its git plugin leaves something to
>>>> be desired.
>>>>
>>>
>
> --
>
> -Juan Algaba
>


Re: ISO-8859-1

2019-10-29 Thread Juan Algaba
I'd recommend downloading the excellent encoding support plugin
http://plugins.netbeans.org/plugin/60487/encoding-support

[image: image.png]

Though every time you open a file you'd have to check in the corner if nb
is assuming the right encoding and change it if necessary.

When working without a project, Does anyone know if there's a default
encoding or if Netbeans uses heuristics to guess the file's encoding?

I tested by saving a file in ISO-8859-1 with characters that wouldn't have
the same byte code in UTF-8 i.e. "áíó" and upon reopening it
successfully detected it as ISO-8859-1 but I'm not sure if it detected it
or if it "remembered" the last encoding I set.

As a last resort, you could simply create a new "Project with existing
sources" on an upper folder level and add your source directory as sources
for such project, the project's only purpose would be to set the default
encoding and nothing else.


On Mon, Oct 28, 2019 at 1:42 PM Jack Woehr  wrote:

> Hmm I see ...
>
> Doesn't actually seem to do much at all.
>
> On Mon, Oct 28, 2019 at 2:34 PM Jack Woehr  wrote:
>
>> I sorta gave up on plugins, even in NetBeans, and just do my own git
>> stuff, so I hadn't noticed.
>>
>> What's short on jEdit's plugin?
>>
>>
>> On Mon, Oct 28, 2019 at 1:25 PM Glenn Holmer 
>> wrote:
>>
>>> On 10/28/19 1:33 PM, Jack Woehr wrote:
>>> > Try jEdit
>>>
>>> I am :) We used to use it at work, back in prehistoric times before we
>>> were using NetBeans. Unfortunately, its git plugin leaves something to
>>> be desired.
>>>
>>

-- 

-Juan Algaba


Re: ISO-8859-1

2019-10-28 Thread Jack Woehr
Hmm I see ...

Doesn't actually seem to do much at all.

On Mon, Oct 28, 2019 at 2:34 PM Jack Woehr  wrote:

> I sorta gave up on plugins, even in NetBeans, and just do my own git
> stuff, so I hadn't noticed.
>
> What's short on jEdit's plugin?
>
>
> On Mon, Oct 28, 2019 at 1:25 PM Glenn Holmer 
> wrote:
>
>> On 10/28/19 1:33 PM, Jack Woehr wrote:
>> > Try jEdit
>>
>> I am :) We used to use it at work, back in prehistoric times before we
>> were using NetBeans. Unfortunately, its git plugin leaves something to
>> be desired.
>>
>


Re: ISO-8859-1

2019-10-28 Thread Jack Woehr
I sorta gave up on plugins, even in NetBeans, and just do my own git stuff,
so I hadn't noticed.

What's short on jEdit's plugin?


On Mon, Oct 28, 2019 at 1:25 PM Glenn Holmer 
wrote:

> On 10/28/19 1:33 PM, Jack Woehr wrote:
> > Try jEdit
>
> I am :) We used to use it at work, back in prehistoric times before we
> were using NetBeans. Unfortunately, its git plugin leaves something to
> be desired.
>


Re: ISO-8859-1

2019-10-28 Thread Glenn Holmer
On 10/28/19 1:33 PM, Jack Woehr wrote:
> Try jEdit

I am :) We used to use it at work, back in prehistoric times before we
were using NetBeans. Unfortunately, its git plugin leaves something to
be desired.

> On Mon, Oct 28, 2019 at 12:23 PM Glenn Holmer
>  wrote:
> 
> Except that this isn't a project, I'm editing some 6502 assembly files
> from the Favorites tab. I'm thinking NetBeans may not be the right tool
> for the job, but I love its git support so much!

-- 
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."
<>
-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Re: ISO-8859-1

2019-10-28 Thread Jack Woehr
Try jEdit


On Mon, Oct 28, 2019 at 12:23 PM Glenn Holmer 
wrote:

>
>
> Except that this isn't a project, I'm editing some 6502 assembly files
> from the Favorites tab. I'm thinking NetBeans may not be the right tool
> for the job, but I love its git support so much!


Re: ISO-8859-1

2019-10-28 Thread Glenn Holmer
On 10/28/19 12:17 PM, Gregor Kovač wrote:
> If you right-click a project and then Properties, you have Sources tab
> where you can change the encoding.

Except that this isn't a project, I'm editing some 6502 assembly files
from the Favorites tab. I'm thinking NetBeans may not be the right tool
for the job, but I love its git support so much!

-- 
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."
<>
-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Re: ISO-8859-1

2019-10-28 Thread Gregor Kovač
Hi!

If you right-click a project and then Properties, you have Sources tab
where you can change the encoding.
I hope this helps.

Best regards,
Kovi

V V pon., 28. okt. 2019 ob 16:26 je oseba Glenn Holmer
 napisala:

> My question is a bit obscure... I'm working with an old 6502 operating
> system whose source is encoded in ISO-8859-1. Naturally, I opened the
> top-level directory from the NetBeans Favorites pane (i.e. not in a
> project) and got right to work.
>
> However, NetBeans wants to open the file as UTF-8. Many of the comments
> are in German, and if I ignore the warning message and make changes,
> every line with a German character (e.g. ö) gets converted, and git
> flags changes for those lines.
>
> Long story short: is there a way to tell NetBeans (using the Favorites
> pane) to open all the files in a specified directory and below using
> e.g. ISO-8859-1?
>
> --
> Glenn Holmer (Linux registered user #16682)
> "After the vintage season came the aftermath -- and Cenbe."
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-- 
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
|  In A World Without Fences Who Needs Gates?  |
|  Experience Linux.   |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~


ISO-8859-1

2019-10-28 Thread Glenn Holmer
My question is a bit obscure... I'm working with an old 6502 operating
system whose source is encoded in ISO-8859-1. Naturally, I opened the
top-level directory from the NetBeans Favorites pane (i.e. not in a
project) and got right to work.

However, NetBeans wants to open the file as UTF-8. Many of the comments
are in German, and if I ignore the warning message and make changes,
every line with a German character (e.g. ö) gets converted, and git
flags changes for those lines.

Long story short: is there a way to tell NetBeans (using the Favorites
pane) to open all the files in a specified directory and below using
e.g. ISO-8859-1?

-- 
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."
<>
-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists