File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -68,11 +68,11 @@ def run
68
68
iterator = @state . get_iterator
69
69
case iterator
70
70
when Integer
71
- iterator . times { @state . mode . process cell . chr }
71
+ iterator . times { @state . mode . process cell . chr_utf_8 }
72
72
when String
73
73
iterator . each_char do |c |
74
74
@state . push c
75
- @state . mode . process cell . chr
75
+ @state . mode . process cell . chr_utf_8
76
76
end
77
77
end
78
78
end
Original file line number Diff line number Diff line change @@ -940,10 +940,10 @@ def process cmd
940
940
end
941
941
end
942
942
when :join_tape
943
- push @state . tape . keys . sort . map { |i | @state . tape [ i ] } . select { |v | is_char? ( v ) } . map ( &:chr ) . join
943
+ push @state . tape . keys . sort . map { |i | @state . tape [ i ] } . select { |v | is_char? ( v ) } . map ( &:chr_utf_8 ) . join
944
944
945
945
when :leave_string_mode
946
- push @state . current_string . select { |c | is_char? c } . map ( &:chr ) . join
946
+ push @state . current_string . select { |c | is_char? c } . map ( &:chr_utf_8 ) . join
947
947
when :escape
948
948
old_ip = @state . ip
949
949
old_dir = @state . dir
You can’t perform that action at this time.
0 commit comments