Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Vertex AI Studio cannot load prompts with non-English alphabets properly

I am using Vertex AI Studio (Chat mode).

Whenever I save the chat for later uses with non-English alphabets, Thai and Japanese in my case, I can't load the prompts (from 'Prompt management') without the texts being littered by strange symbols '�' everywhere. I notice that whenever I refresh the page, the locations of ��� in the text usually change. Sometimes these symbols don't appear at all. So I guess it is a problem when the prompt is being loaded up. I thought it was a browser problem, so I tried switching but no avail. Google AI Studio does not have this problem either.

Please help me, I cannot use my saved prompts at all.

1 REPLY 1

Hi @kinelite

Welcome to Google Cloud Community!

This issue might be related to character encoding problems when saving and loading prompts. Here are few workarounds you can try that might help you resolve this issue:

Check Encoding Settings To properly display Thai and Japanese characters, configure your text editor or IDE to save files using UTF-8 encoding.

Clear Browser Cache - Try clearing your browser cache, as this may resolve the issue with the symbols changing location upon refreshing. Clearing the cache can often help with text rendering problems.

Update Vertex AI Studio- Ensure you are using the latest version of Vertex AI Studio, as updates often include bug fixes and improvements.

If the issue persists, I suggest contacting Google Cloud Support as they can provide more insights to see if the behavior you've encountered is a known issue or specific to your project.

I hope the above information is helpful.