(if tport
(output-port/discretionary-flush tport))))
\f
+(define (textual-port-char-set port)
+ (let ((operation (textual-port-operation port 'CHAR-SET)))
+ (if operation
+ (operation port)
+ char-set:iso-8859-1)))
+
(define (port/supports-coding? port)
(let ((operation (textual-port-operation port 'SUPPORTS-CODING?)))
(if operation
(operation port)
#f)))
-(define (port/char-set port)
- ((or (textual-port-operation port 'CHAR-SET)
- (error:bad-range-argument port 'PORT/CHAR-SET))
- port))
-
(define (port/coding port)
((or (textual-port-operation port 'CODING)
(error:bad-range-argument port 'PORT/CODING))
(files "genio")
(parent (runtime))
(export ()
+ char-set:iso-8859-1
+ char-set:iso-8859-10
+ char-set:iso-8859-11
+ char-set:iso-8859-13
+ char-set:iso-8859-14
+ char-set:iso-8859-15
+ char-set:iso-8859-16
+ char-set:iso-8859-2
+ char-set:iso-8859-3
+ char-set:iso-8859-4
+ char-set:iso-8859-5
+ char-set:iso-8859-6
+ char-set:iso-8859-7
+ char-set:iso-8859-8
+ char-set:iso-8859-9
known-input-port-coding?
known-input-port-codings
known-output-port-coding?
output-port-terminal-mode
output-port?
port-property
- port/char-set
port/coding
port/known-coding?
port/known-codings
textual-i/o-port?
textual-input-port?
textual-output-port?
+ textual-port-char-set
textual-port-open?
textual-port-operation
textual-port-operation-names