unicode bug?

Bug #256525 reported by Derick Eddington
2
Affects Status Importance Assigned to Milestone
Ikarus Scheme
Fix Committed
Medium
Abdulaziz Ghuloum

Bug Description

The external representation is using escaping for some of the characters. Bug? Or, is this because these are modifier code-points (or whatever they're called) that don't have glyphs of their own? and does the display show it the same because my terminal or font-system knows how to render the modifier code-points?

Ikarus Scheme version 0.0.3+ (revision 1579, build 2008-08-09)
Copyright (c) 2006-2008 Abdulaziz Ghuloum

> "মণিপুরী"
"মণ\x9BF;পুর\x9C0;"
> (display "মণিপুরী\n")
মণিপুরী
>

Related branches

Revision history for this message
Abdulaziz Ghuloum (aghuloum) wrote :

Fixed in 1582.

> (print-unicode #t)
> "মণিপুরী\n"
"মণিপুরী\n"
> (print-unicode #f)
> "মণিপুরী\n"
"\x9AE;\x9A3;\x9BF;\x9AA;\x9C1;\x9B0;\x9C0;\n"

The issue is still open for symbols though.

Changed in ikarus:
assignee: nobody → aghuloum
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Abdulaziz Ghuloum (aghuloum) wrote :

Fixed for symbols in 1584.

Changed in ikarus:
status: Confirmed → Fix Committed
Revision history for this message
leppie (leppie) wrote :

I am getting this in Cygwin. It seems Cygwin does not have a 'locale' command, so I used 'chcp' from windows. I am not sure if this is a Cygwin bug.

$ ikarus
Ikarus Scheme version 0.0.3+ (revision 1584, build 2008-08-11)
Copyright (c) 2006-2008 Abdulaziz Ghuloum

> "\x9AE;\x9A3;\x9BF;\x9AA;\x9C1;\x9B0;\x9C0;\n"
Unhandled exception:
 Condition components:
   1. &i/o-write
   2. &who: write
   3. &message: "EACCES: Permission denied"
   4. &i/o-file-protection: *stdout*

lpritchard@Llewellyn ~
$ ikarus
Ikarus Scheme version 0.0.3+ (revision 1584, build 2008-08-11)
Copyright (c) 2006-2008 Abdulaziz Ghuloum

> #\x
#\x
>

lpritchard@Llewellyn ~
$ /cygdrive/c/Windows/System32/chcp
Active code page: 65001

lpritchard@Llewellyn ~
$ /cygdrive/c/Windows/System32/chcp 437
Active code page: 437

lpritchard@Llewellyn ~
$ ikarus
Ikarus Scheme version 0.0.3+ (revision 1584, build 2008-08-11)
Copyright (c) 2006-2008 Abdulaziz Ghuloum

> "\x9AE;\x9A3;\x9BF;\x9AA;\x9C1;\x9B0;\x9C0;\n"
"à▌rà▌£à▌¿à▌ªà§?à▌°à§?\n"
>

Revision history for this message
leppie (leppie) wrote :

Here is a better solution to the Cygwin UTF-8 issues.

http://www.okisoft.co.jp/esc/utf8-cygwin/

c:\cygwin\usr\local\bin>ikarus -- ქართული 한국어 Ελληνικ
Ikarus Scheme version 0.0.3+ (revision 1584, build 2008-08-11)
Copyright (c) 2006-2008 Abdulaziz Ghuloum

> (command-line)
("*interactive*" "ქართული" "한국어" "Ελληνικ")
> "\x9AE;\x9A3;\x9BF;\x9AA;\x9C1;\x9B0;\x9C0;\n"
"মণিপুরী\n"
>

:)

Revision history for this message
leppie (leppie) wrote :

I wrote:

> Here is a better solution to the Cygwin UTF-8 issues.

> http://www.okisoft.co.jp/esc/utf8-cygwin/

Breaks gcc :(

Changed in ikarus:
milestone: none → 0.0.4
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.