masroore / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Code explorer and code completion do not recognize non-ascii characters in identifiers #515

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new module.
2. Paste this code:

def my_func():
    pass

def моя_функция(): #Russian. No character is recognized by the code 
explorer
    pass

class Employee:
    pass

class Töötaja: #Estonian. Only the first character is recognized by the code 
explorer
    pass

3. Look at the code explorer.

What is the expected output? - All of the declared objects should be visible in 
the code explorer.

What do you see instead? - If object's identifier starts with a non-ascii 
character, the object is non-visible in the code explorer completely. If 
object's identifier starts with an ascii character, but also contains non-ascii 
characters, then it's name is truncated to the position of the first non-ascii 
character.

What version of the product are you using?  - 2.4.1.0
On what operating system? - Windows 7 (6.1 build 7600) pro 32-bit ENG (no sp)

Please provide any additional information below.
 - python 3.2

Original issue reported on code.google.com by viho...@gmail.com on 28 May 2011 at 11:57

GoogleCodeExporter commented 9 years ago
Fixed in version control for class and function names.
Variable names are not recognized though.

Original comment by pyscripter on 16 Jun 2011 at 10:46