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 172823 - Breaking non-ansi characters while using cp1251
Summary: Breaking non-ansi characters while using cp1251
Status: RESOLVED INCOMPLETE
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Tomas Mysik
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2009-09-23 00:36 UTC by theshock
Modified: 2009-11-02 15:59 UTC (History)
0 users

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 theshock 2009-09-23 00:36:30 UTC
Unfortunately, I do not know how to repeat this bug
If my project-encoding is cp1251 (windows-1251 — Cyrillic encoding): sometimes, after opening the ide, in file, which
displayed after the opening, all russian letters are broken there. If i look this file in another editor than (eg
KWrite) — all russian letters will be question marks. 
This happenes only after opening — not during work and not always. It seems to me, that NB breaks them by random)
It happens only with file, that opens first — with this file i finished work previously
http://www.picamatic.com/show/2009/09/23/03/14/5167505_582x372.png
Comment 1 rmatous 2009-10-06 16:35:55 UTC
PhpProjectEncodingQueryImpl?
Comment 2 Tomas Mysik 2009-10-07 14:20:17 UTC
I will look at it. Could you please help us a bit - is it reproducible for you with e.g. Java project? Try to do the same
but with Java file in Java project.

Thanks a lot.
Comment 3 theshock 2009-10-07 19:21:11 UTC
Hmmm. I don't use Java now, so I can't try a lot of times, but first time bug didn't repeat.
But even, while using php, the chance, that the bug will appear is, for example, only 10%
Comment 4 Tomas Mysik 2009-10-08 09:01:21 UTC
Aha, I understand. I will review the code and try to find a possible problem.

Thanks.
Comment 5 Tomas Mysik 2009-10-08 09:30:53 UTC
OK, I probably know where the problem could be but I need you to confirm that - to do so, could you please try to
close and reopen the file when it happens to you again? It should help.
(Marking as INCOMPLETE till you confirm that I'm right.)

Thanks a lot for your cooperation.
Comment 6 Tomas Mysik 2009-11-02 15:59:49 UTC
Any progress here? Thanks a lot.