Change 8566

drakino (drakino)
drakino committed this change into //guest/matt_attaway/vdg under Review 8564
View Review
Download .zip
Converting path between UTF-8 to UTF-16 to scan for and replace any bad UTF byte sequences.
 Resolves possible issue where a bad character in a filename would result in an exception "invalid byte sequence in UTF-8 (ArgumentError)" being thrown.

Suggested fix from http://stackoverflow.com/questions/2982677/ruby-1-9-invalid-byte-sequence-in-utf-8

#review @matt_attaway
  • Files 1
  • Comments 0
1 edited 0 added 0 deleted
viz_data_gen.rb#3
Loading...
Tip: Use n and p to cycle through the changes.