• Lin Jen-Shin's avatar
    Make sure TraceReader uses Encoding.default_external · e9d8fc94
    Lin Jen-Shin authored
    Encoding.default_external was chosen over
    Encoding.default_internal because File.read is
    returning Encoding.default_external, therefore
    we should align with it. Alternatively, we could
    force both of them to be Encoding.default_internal.
    
    However, ideally this should be determined by different
    projects. For example, some projects might want to use
    an encoding different to what GitLab is using.
    
    This might not happen soon though.
    
    Closes #27052
    e9d8fc94
trace_reader.rb 1.28 KB