Details
-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Minor
-
Resolution: Upstream Problem
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: usfm2osis.py
-
Labels:None
Description
UCS-2 is the default internal representation of Unicode on Python, so non-BMP characters in the input may cause problems. Print a warning.
Use following to check for UCS-4 vs. UCS-2 in compiled interpreter:
import sys
sys.maxunicode > 65536 and 'UCS4' or 'UCS2'