Use https for gems.
Handle utf-8 in syntax highlighted segments.