The iso9660 spec says the volume id must only be composed of 0-9, A-Z, and _.
But dvd authors seem to take liberties with the character set. Certain
non-ascii character sequences cause a crash in the glib function
g_markup_escape_text(). So force all characters into the standard ascii range.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4724
b64f7644-9d1e-0410-96f1-
a4d463321fa5
b++;
break;
default:
- *a = *b;
+ *a = *b & 0x7f;
a++; b++;
break;
}