Summary
[utf8 egg] problem with utf8-case-map and Windows
Metadata
- Id: c520658bca94d1e36f1817d1aa8e488212fed63b
- Trac id: 422
- Type: defect
- Reporter: m
- Owner: ashinn
- Cc:
- Status: closed
- Component: extensions
- Estimated difficulty:
- Resolution: fixed
- Priority: major
- Milestone:
- Version: 4.5.0
- Changetime: 2013-10-11 00:27:53 UTC
- Created: 2010-11-01 17:50:31 UTC
- Keywords: egg, windows, utf8
Description
I had no problems installing utf8 egg on Windows using chicken-install tool, however I had problems with case-map-1.dat file. It is located in lib/chicken/5/ directory with other modules, however, when I try to load utf8-case-map I get this warning:
#;1> (use utf8-case-map) ; loading /usr/local/lib/chicken/5/utf8-case-map.import.so ... ; loading /usr/local/lib/chicken/5/scheme.import.so ... ; loading /usr/local/lib/chicken/5/chicken.import.so ... ; loading /usr/local/lib/chicken/5/extras.import.so ... ; loading /usr/local/lib/chicken/5/ports.import.so ... ; loading /usr/local/lib/chicken/5/posix.import.so ... ; loading /usr/local/lib/chicken/5/srfi-4.import.so ... ; loading /usr/local/lib/chicken/5/utf8-lolevel.import.so ... ; loading /usr/local/lib/chicken/5/lolevel.import.so ... ; loading /usr/local/lib/chicken/5/utf8-srfi-14.import.so ... ; loading /usr/local/lib/chicken/5/srfi-69.import.so ... ; loading /usr/local/lib/chicken/5/iset.import.so ... ; loading /usr/local/lib/chicken/5/unicode-char-sets.import.so ... ; loading /usr/local/lib/chicken/5/utf8-case-map.so ... ; loading /usr/local/lib/chicken/5/utf8-lolevel.so ... ; loading /usr/local/lib/chicken/5/utf8-srfi-14.so ... ; loading /usr/local/lib/chicken/5/iset.so ... ; loading /usr/local/lib/chicken/5/unicode-char-sets.so ... Warning: couldn't load case-map-1.dat
After that utf8-srfi-13 doesn't really work well:
#;4> (use utf8-srfi-13) ; loading /usr/local/lib/chicken/5/utf8-srfi-13.import.so ... ; loading /usr/local/lib/chicken/5/data-structures.import.so ... ; loading /usr/local/lib/chicken/5/utf8-srfi-13.so ... #;5> (string-upcase "привет") Error: (u32vector-ref) out of range 0 0 0 Call history: <syntax> (string-upcase "привет") <eval> (string-upcase "привет") <-- #;5> (string-upcase "hello") "HELLO"
My Chicken Scheme version:
CHICKEN (c)2008-2010 The Chicken Team (c)2000-2007 Felix L. Winkelmann Version 4.5.0 windows-mingw32-x86 [ manyargs dload ptables ] compiled 21.08.2010 on Semerochka (MinGW)
btw, utf8 egg works flawlessly on linux
Changes and comments
[2011-02-03 11:03:59 UTC] felix removed milestone 4.7.0
[2013-10-11 00:27:53 UTC] ashinn changed status from new to closed
[2013-10-11 00:27:53 UTC] ashinn set resolution to fixed
[2013-10-11 00:27:53 UTC] ashinn wrote:
Thanks for the patch, fixed.