Bug 152589 - I18N - project encoding property does not use feq default
I18N - project encoding property does not use feq default
Status: NEW
Product: python
Classification: Unclassified
Component: Projects
6.x
Sun All
: P2 (vote)
: 6.x
Assigned To: ardavis26
nbpythonqa
: I18N
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-11-06 22:33 UTC by Ken Frank
Modified: 2009-02-19 22:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

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.

ken.frank@sun.com

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.


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