Changeset 29978 in project


Ignore:
Timestamp:
10/31/13 21:34:51 (8 years ago)
Author:
svnwiki
Message:

Anonymous wiki edit for IP [24.212.179.143]:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/pstk

    r29935 r29978  
    106106</enscript>
    107107
     108* If you want to display unicode characters then you need to add the following to pstk.scm:
     109
     110<enscript>
     111     (tk-init-string
     112       (string-intersperse
     113                          '("package require Tk"
     114                            "fconfigure stdin -encoding utf-8"
     115                            "fconfigure stdout -encoding utf-8"
     116                            "if {[package version tile] != \"\"} {"
     117                            "    package require tile"
     118                            "}"
     119</enscript>
     120
     121Alternatively, add the following in your script:
     122<enscript>
     123(tk-start)
     124(tk-eval "fconfigure stdin -encoding ascii")
     125(tk-eval "fconfigure stdout -encoding ascii")
     126</enscript>
     127
    108128=== Authors
    109129
Note: See TracChangeset for help on using the changeset viewer.