Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 576465
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T14:03:00+00:00 2026-05-13T14:03:00+00:00

I have edited several files ISO-8859-15 encoded php source files with netbeans 6.7.1, but

  • 0

I have edited several files ISO-8859-15 encoded php source files with netbeans 6.7.1, but it converted them (without asking me!!!!) to utf-8,and I lost several german characters in that process…

I’m looking for a tool to find all the utf8 encoded files inside a directory (It’s hard for me to tell which file has been broken).

I’d also need a tool to translate them

I’m trying to fix the whole thing with gedit, which recognizes and respects the charset of each file, but won’t let me save utf8 files as iso-8859-15, because it says there characters that won’t be converted…

so, I need:

  • a tool o search for utf8 encoded files

  • an editor that allows me to go from one encoding to another

  • oh yes!, a way to tell netbeans not to mess with my files!!!

(i have already tried with
editing /etc/netbeans.conf and adding -J-Dfile.encoding=UTF-8, or -J-Dfile.encoding=ISO-8859-15 with no luck)
http://wp.uberdose.com/2007/05/07/netbeans-and-utf-8/
http://ditoinfo.wordpress.com/2007/02/26/netbeans-and-utf8-encoding-2/

thanks a lot

edit:

(mmm I’ve just found this
http://wiki.netbeans.org/FaqI18nProjectEncoding
which says haw to modify characters encoding for a project, I’ll give it a try
here it explains the mess netbeans did

For a new IDE installation, UTF-8
encoding is the default for new
projects, as this encoding can handle
any Unicode characters, making it the
best choice for most people. When you
create a new project, the IDE
initially defaults to giving it the
same encoding as the last project on
which you set the encoding. If you
want another encoding, just change it
in the properties dialog.

and I created a new project from existing php sources, I guess that’s what went wrong…
)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T14:03:01+00:00Added an answer on May 13, 2026 at 2:03 pm

    I’ll take your points in order:

    • If you know a bit of python, I recommend lokking at decodeh.py. It’ll use a strategy of the lowest common denominator. So iso-8859-15 files might be recognized as iso-8859-1 if none of their characters lies outside the iso-8859-1 scope. I have tried it on utf-8, iso-8859-1 and iso-8859-15 files and it is mostly correct. It uses the byte order mark and heuristics to guess the encoding.

    • The answer to this is easy: emacs. Use M-xdescribe-current-coding-system to see what emacs thinks is the encoding of the file. Emacs have never failed me in this respect. Use M-x set-buffer-file-coding-system to set which encoding the buffer should be written to a file with.

    • For netbeans 6.7, you can configure the default encoding per project basis. When you have a project open, go to File->Project Properties, choose Sources in the left menu and in the bottom of the right hand panel, you’ll see a dropdown box with the title ‘Encoding’

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have several xml files whose postfix is not .xml, but .component Now I
I have a string which could contain several different values, among them are. EDITED
I have a file which can be edited from several different places over an
I have several <asp:TextBox TextMode=MultiLine> elements on a page. On load, I populate them
Eclipse (3.4.2 with PyDev) deals with out-of-sync resources (files that have been edited outside
EDIT: I have edited my post... Working on a project (c#), I have a
i have an edited version of a config file specific for my machine. i
I have HTML code edited by FCKEditor stored in a database and would like
--edited for clarity (hopefully) I have an XML file that looks something like this:
I just edited an .SWF file I have on my website home page for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.