This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes utf-8 with netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "utf-8 with netbeans " Watch "utf-8 with netbeans " New topic
Author

utf-8 with netbeans

Arad Chear
Ranch Hand

Joined: Jan 05, 2007
Posts: 98
Hi

I am looking for how to write Arabic in java

when I say :



Its appear like ??? in the NB console ..

I have tryed to put "file.encoding" Property to "UTf-8" but still the problem


any ideas ?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37874
    
  22
It works all right on a Linux console, except that it printed left-to-right. Also on Eclipse, printing right-to-left.

This seems to be a NetBeans specific problem, so I shall try moving you to the IDEs forum; you might have a better chance of help there.
Arad Chear
Ranch Hand

Joined: Jan 05, 2007
Posts: 98
i don't think its Netbeans problem
because In my MacBook its fine to deal with Arabic Character
. but in windowd-vista it is not
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37874
    
  22
So you have got Arabic to print all right on NetBeans on a Mac?

Windows is particularly bad at handling anything but the simplest characters at the Command Prompt.
Arad Chear
Ranch Hand

Joined: Jan 05, 2007
Posts: 98
Thanks Campbell ,

Its work now when I totally change my Language-settings to Arabic in Vista

I think its not portable way but i hope this solve my problem ..

Thanks again
 
Consider Paul's rocket mass heater.
 
subject: utf-8 with netbeans
 
Similar Threads
strange characters when invoking servlet
getParameter () method of HttpServletRequest
problem with Euro symbol
can i send character encoding with the url
Reg : Encode in UTF-8 with BOM