Correcting Spanish accented characters, when they come from the terminal output (e.g. via OSSubprocess).

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-03-18 09:45:21 -05:00
parent 3553e4a2a0
commit 378d42b6c8

View File

@ -485,12 +485,16 @@ FossilRepo >> status [
output at: 'commitLog' put: commitLog output at: 'commitLog' put: commitLog
]. ].
edited := status lines select: [ :line | line beginsWith: 'EDITED' ]. edited := status lines select: [ :line | line beginsWith: 'EDITED' ].
output at: 'edited files' put: (edited collect: output
[ :line | (line withoutPrefix: 'EDITED')trimmed ]). at: 'edited files'
put: (edited collect:
[ :line | (line withoutPrefix: 'EDITED') trimmed accentedCharactersCorrection ]).
missing := status lines select: [ :line | line beginsWith: 'MISSING' ]. missing := status lines select: [ :line | line beginsWith: 'MISSING' ].
output at: 'missing files' put: (missing collect: output
[ :line | (line withoutPrefix: 'MISSING')trimmed ]). at: 'missing files'
put: (missing collect:
[ :line | (line withoutPrefix: 'MISSING') trimmed accentedCharactersCorrection ]).
^ output ^ output
] ]