Re: NetBean charset problem
- From: Thomas E Enebo < >
- To:
- Subject: Re: NetBean charset problem
- Date: Thu, 19 Jan 2012 10:00:56 -0600
There is a way of changing options for starting up NetBeans (cannot
remember which file or where especially on MacOS). I am wondering
what happens if you set LC_ALL=en_US.UTF-8 as an env in the startup
script?
My guess would be that editing window is honoring project settings but
output windows is using the default charset.
-Tom
On Thu, Jan 19, 2012 at 9:34 AM, Jussi Hirvi
< >
wrote:
> Hello list,
>
> I just installed NetBeans, and I am totally newbie with Ruby too.
>
> The problem is that when I create a new NetBeans project and write
> puts "ä"
> ...and then run the file, I get
> ‰
> ... in the output window, instead of my special char.
>
> This is after I changed the project encoding (File -> Project properties) to
> iso-8859-1. If I set the project encoding back to utf-8 (= program default)
> and repeat the test, the output is
> √§
>
> Info from "About NetBeans" window:
>>
>> Product Version: NetBeans IDE 6.9.1 (Build 201007282301)
>> Java: 1.6.0_29; Java HotSpot(TM) 64-Bit Server VM 20.4-b02-402
>> System: Mac OS X version 10.6.8 running on x86_64; MacRoman; en_US (nb)
>> Userdir: /Users/jussihirvi/.netbeans/6.9
>
>
> I notice it says "MacRoman", I don't know if that's relevant.
>
> I am using the OS installation of ruby: 1.8.7
>
> - Jussi
--
blog: http://blog.enebo.com twitter: tom_enebo
mail:
| Jussi Hirvi | 01/19/2012 | |
|
Re: NetBean charset problem |
Thomas E Enebo | 01/19/2012 |
| Jussi Hirvi | 01/20/2012 | |
| Jussi Hirvi | 01/21/2012 |
