--
You received this message because you are subscribed to the Google Groups "OpenREM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openrem+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openrem/3986fa61-506a-4e03-9e10-fb6e0956c86en%40googlegroups.com.
I've just followed the instructions in https://docs.openrem.org/en/0.10.0-docs/troubleencoding.html , I tried to come out of the environment and back in, but all unsuccessfully
charset.py
-----------
[...]
# Map DICOM Specific Character Set to python equivalent
python_encoding = {
# default character set for DICOM
'': 'iso8859',
# alias for latin_1 too (iso_ir_6 exists as an alias to 'ascii')
'ISO_IR 6': 'iso8859',
'ISO_IR 13': 'shift_jis',
# these also have iso_ir_1XX aliases in python 2.7
'ISO_IR 100': 'latin_1',
'ISO_IR 101': 'iso8859_2',
'ISO_IR 109': 'iso8859_3',
'ISO_IR 110': 'iso8859_4',
'ISO_IR 126': 'iso_ir_126', # Greek
'ISO_IR 127': 'iso_ir_127', # Arabic
'ISO_IR 138': 'iso_ir_138', # Hebrew
'ISO_IR 144': 'iso_ir_144', # Russian
'ISO_IR 148': 'iso_ir_148', # Turkish
'ISO_IR 166': 'iso_ir_166', # Thai
'ISO 2022 IR 6': 'iso8859', # alias for latin_1 too
'ISO 2022 IR 13': 'shift_jis',
'ISO 2022 IR 87': 'iso2022_jp',
'ISO 2022 IR 100': 'latin_1',
'ISO 2022 IR 101': 'iso8859_2',
'ISO 2022 IR 109': 'iso8859_3',
'ISO 2022 IR 110': 'iso8859_4',
'ISO 2022 IR 126': 'iso_ir_126',
'ISO 2022 IR 127': 'iso_ir_127',
'ISO 2022 IR 138': 'iso_ir_138',
'ISO 2022 IR 144': 'iso_ir_144',
'ISO 2022 IR 148': 'iso_ir_148',
'ISO 2022 IR 149': 'euc_kr', # needs cleanup via clean_escseq()
'ISO 2022 IR 159': 'iso-2022-jp',
'ISO 2022 IR 166': 'iso_ir_166',
'ISO 2022 IR 58': 'iso_ir_58',
'ISO_IR 192': 'UTF8', # from Chinese example, 2008 PS3.5 Annex J p1-4
'GB18030': 'GB18030',
'ISO 2022 GBK': 'GBK', # from DICOM correction CP1234
'ISO 2022 58': 'GB2312', # from DICOM correction CP1234
'GBK': 'GBK', # from DICOM correction CP1234
}
default_encoding = "iso8859"
[....]
Kind regards
Alessandro f.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openrem/a4c2ae9c-0e49-4f2f-9f37-c4bd0d299c90n%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openrem/87c5a970-6d54-4013-aa93-31c5ae17d648n%40googlegroups.com.