diff --git a/src-web/components/responseViewers/TextViewer.tsx b/src-web/components/responseViewers/TextViewer.tsx index b8f141a2..bb8695cb 100644 --- a/src-web/components/responseViewers/TextViewer.tsx +++ b/src-web/components/responseViewers/TextViewer.tsx @@ -116,11 +116,14 @@ export function TextViewer({ language, text, responseId, requestId, pretty, clas body = formattedBody.data; } + // Decode unicode sequences in the text to readable characters + const decodedBodyText = unescape(body.replace(/\\u/g, '%u')) || body; + return ( ); } +