Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 152589 - I18N - project encoding property does not use feq default
I18N - project encoding property does not use feq default
Product: python
Classification: Unclassified
Component: Projects
Sun All
: P2 (vote)
: 6.x
Assigned To: vincentvdl
: I18N
Depends on:
  Show dependency treegraph
Reported: 2008-11-06 22:33 UTC by Ken Frank
Modified: 2017-06-23 08:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2008-11-06 22:33:20 UTC
I realize python is going to ea and usually we don't require i18n to be done for it
but was looking at it in other locale and using pseudo localized msgs anyway,
and saw this issue that could be fixed for next release:

feq (file encoding query) implementation has the default project encoding
be utf-8, regardless of locale user is in when they start netbeans,
but for python project, its the encoding of the locale user is in.

also, when change project encoding in one project, the project encoding of next
project is still that of the encoding of locale user started nb in.

please also implement other feq api and rules - nb developers can tell more about this.

PS some questions that can help us for future testing

1. I am not using non ascii in names of any python project, or path or filename
at this time - are there restrictions in that in python or jython; for java its ok,
for some other scripting langs its not.

2. is there a statement or tag in a py program that indicates the encoding of
the strings in the file ?  if not then how does python determine encoding - is it from the
encoding of the locale user is in ?
Comment 1 Ken Frank 2008-11-06 22:34:53 UTC
p2 is the correct prio for these kind of issues but its not required
for the 6.5 release at all.

PS I'd provided some on team with various i18n dev focused netbeans i18n info and requirements - 
let me know if its needed by others on the team.
Comment 2 Peter Lam 2008-11-11 19:56:40 UTC
i18n is not needed in EA so mark it for fcs.
Comment 3 Lou Dasaro 2015-05-19 05:16:35 UTC
Assigned to Vincent for review...
Comment 4 Jenselme 2017-06-22 21:36:20 UTC
This should be fixed in the next release planned in August. Closing this old bug. Reopen if needed.
Comment 5 Jiri Kovalsky 2017-06-23 08:06:18 UTC
Thanks for your evaluation Julien. Reporter, if you think your issue is still valid and needs to be addressed, don't hesitate to reopen it with additional information. Closing for now.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo