Ask a Question

Not able to pass Greek characters from the code to my application

Moulya_p
Occasional Contributor

Not able to pass Greek characters from the code to my application

Hello everyone,

I am trying to pass a string which contains Greek characters in my code using JavaSrcipt. But during execution it is getting passed as either blank or "?" in the application textbox. Could someone please help me how to solve this issue?

Thanks in advance.

3 REPLIES 3
SaravanaKumar_N
Contributor

Re: Not able to pass Greek characters from the code to my application

@Moulya_p

Did you manage to resolve it? If not can you share the code to look what exactly you are trying to do.

 

This is a similar issue but with Chinese. They were using 'VarToString' method which was causing the issue.

https://community.smartbear.com/t5/TestComplete-Functional-Web/Chinese-Letter-displaying-as/td-p/171...

Moulya_p
Occasional Contributor

Re: Not able to pass Greek characters from the code to my application

 
 

 

I found the solution. We need to pass the codes assigned to each characters while pressing the Alt key. 

 

https://www.keynotesupport.com/websites/greek-letters-symbols.shtml 

AlexKaras
Community Hero

Re: Not able to pass Greek characters from the code to my application

Hi,

 

Have you tried to set the system locale to Greek (as per https://support.smartbear.com/testcomplete/docs/app-testing/misc/unicode/set-system-language-manuall... and https://support.smartbear.com/testcomplete/docs/app-testing/misc/unicode/set-system-language-from-sc...) ?

Does it help?

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
cancel
Showing results for 
Search instead for 
Did you mean: