• Lin Jen-Shin's avatar
    Make sure TraceReader uses Encoding.default_external · 050103f2
    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
    050103f2
trace_reader.rb 1.28 KB