Skip to content

Commit

Permalink
update UCS-4 not supported error message
Browse files Browse the repository at this point in the history
Tk 8.6.13 solves UCS-4 support issue.
Close #189.
  • Loading branch information
yuuki0xff committed Oct 12, 2023
1 parent 3daa558 commit 7fa6ab6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nvpy/tk.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ def __init__(self, char):
self.char = char

def __str__(self):
return ('non-BMP character {} is not supported. '
'Please rebuild python interpreter and libraries with UCS-4 support. '
return ('non-BMP character {} is not supported in the current Tk version. '
'The latest Tk will fix this issue. Please consider upgrading to latest OS, Python, and libraries. '
'Another option is rebuild Python interpreter and libraries with UCS-4 support. '
'See https://github.com/cpbotha/nvpy/blob/master/docs/ucs-4.rst').format(self.char)


Expand Down

0 comments on commit 7fa6ab6

Please sign in to comment.