This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 199799 - whe i create remote-server project. I use win-1251 codepage but edited files saved in utf-8
Summary: whe i create remote-server project. I use win-1251 codepage but edited files ...
Status: RESOLVED INCOMPLETE
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-30 20:00 UTC by Burjuy
Modified: 2011-08-24 09:25 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Burjuy 2011-06-30 20:00:48 UTC
Product Version = NetBeans IDE 7.0 (Build 201104080000)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_26
Runtime = Java HotSpot(TM) Client VM 20.1-b02
Comment 1 Burjuy 2011-06-30 20:10:32 UTC
whe i create remote-server project. I use win-1251 codepage but edited files saved in utf-8
Comment 2 Marian Mirilovic 2011-07-01 14:35:43 UTC
What do you mean by remote-server project ?
Comment 3 Petr Jiricka 2011-07-01 14:42:38 UTC
And what kind of files are you editing? The behavior of encoding detection is dependent on file type (MIME type), so this is important information.
Comment 4 Burjuy 2011-07-02 08:59:23 UTC
>>whe i create remote-server project. I use win-1251 codepage but edited files
saved in utf-8

I create project from live server.

>>And what kind of files are you editing? The behavior of encoding detection is
dependent on file type (MIME type), so this is important information.

All files in cp-1251. The project encoding is CP-1251. NetBeans opens files correctly, but saves them in the UTF-8 encoding.
Comment 5 Leonid Lenyashin 2011-08-01 09:54:18 UTC
Might be a duplicate
Comment 6 Vladimir Kvashin 2011-08-22 08:36:35 UTC
(In reply to comment #4)

We need to know more information to be able to solve this. Please answer the questions below.

> I create project from live server.
Don't understand, sorry; could you clarify please.

Do you develop on windows for remote (Linux or Solaris) host?

> All files in cp-1251. The project encoding is CP-1251. NetBeans opens files
> correctly, but saves them in the UTF-8 encoding.

So you have implicitly set "1251" in the "Encoding" field of your project properties and NetBeans still saves files in UTF? Is this correct?