http://www.1to2.us/Netbeans-UTF-8-a146464.htm
  
  
   原来一个再eclipse 下的web项目因为经常出兼容问题 打算转到Netbeans下,项目编码使用utf-8,再网上找了些资料,终于搞定了netbeans的编码设置:
  
  1》打开项目的属性,设置编译参数: -encoding utf-8
  
   Project Properties -> Build -> Compiling Sources -> Additional Compiler Options -> "-encoding utf-8"
  
  2》设置项目源文件的编码是 utf-8
  
   Select files, Window -> Properties -> Text -> Encoding -> "UTF-8".
  
  3》设置 选项--》高级--->java源文件设为utf-8
  
   Tools -> Options -> Options -> Editing -> Java Sources -> Export -> Default Encoding -> UTF-8.

http://www.netbeans.org/products/index_zh_CN.html   netbeans 5.5.1 下载处

相关文章:

  • 2021-11-28
  • 2021-11-28
  • 2021-11-28
  • 2022-01-14
  • 2021-06-12
  • 2021-11-28
  • 2022-12-23
猜你喜欢
  • 2021-12-22
  • 2021-11-28
  • 2021-06-22
  • 2021-08-20
  • 2022-02-15
  • 2021-07-04
  • 2021-10-23
相关资源
相似解决方案