This issue might be due to the encoding settings of your Azure Static Web App. Here are a few things you can try:
File Encoding: Ensure that the file containing the text “हिंदी Test” is saved with UTF-8 encoding. In many text editors, you can do this by going to File => Save As => Save with Encoding and choose Unicode (UTF-8 With Signature).
This tag specifies that the content of the file is encoded in UTF-82.
URL Encoding: If the issue persists, you might need to URL encode your string. For example, in JavaScript, you can use encodeURIComponent("हिंदी Test") to encode your string.
Remember to redeploy your web app after making these changes. If the issue still persists, please provide more details about your setup and I’ll do my best to assist you further.
Meta Tag: Check if you have the following line in the head section of your HTML file:
HTML
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>