Furthermore, a symbol name containing non-ASCII symbols is cut off at the first
one.
## Test case
```python
#!/usr/bin/env python3
# encoding: utf-8
def ackermann_péter(m, n):
if m == 0: return n + 1
elif m > 0 and n == 0: return ackermann_péter(m - 1, 1)
elif m > 0 and n > 0: return ackermann_péter(m - 1, ackermann_péter(m,
n - 1))
else: raise ValueError("{name}({}, {}) is not
defined.").format(__name__, m, n)
```
## Steps to reproduce
1. Type `acker` with autocomplete on.
2. Press <kbd>Enter</kbd>
3. Type a left paren "("
## Expected behavior
3. `ackermann_péter (m, n)` gets suggested
## Actual behavior
3. `ackermann_p (m, n)` gets suggested
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1337#issuecomment-279252666