We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
to-ascii
1 parent cd366fa commit 4a8fb22Copy full SHA for 4a8fb22
src/modules/to-ascii.reb
@@ -4,15 +4,15 @@ Rebol [
4
name: to-ascii
5
type: module
6
options: [delay]
7
- version: 0.1.0
+ version: 0.1.1
8
exports: [to-ascii]
9
author: @Oldes
10
file: %to-ascii.reb
11
home: https://src.rebol.tech/modules/to-ascii.reb
12
]
13
to-ascii: function [
14
"Return a string with characters transliterated to ASCII"
15
- text [string!] "String to be converted"
+ text [any-string!] "String to be converted"
16
/keep "Keep unhandled non-ASCII characters"
17
][
18
out: make string! length? text
@@ -23,7 +23,7 @@ to-ascii: function [
23
)
24
| set s: skip (if keep [append out s])
25
]]
26
- out
+ as type? text out
27
28
29
ascii-chars: make bitset! #{FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF}
0 commit comments