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 (<[email protected]>) 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 <[email protected]> wrote: > >> Hmm I see ... >> >> Doesn't actually seem to do much at all. >> >> On Mon, Oct 28, 2019 at 2:34 PM Jack Woehr <[email protected]> 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 <[email protected]> >>> 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 >
