--- title: Fix another case where trace does not have proper encoding set merge_request: 10728 author: