French Language Issue

I have a macro that adds a comment to a field in PeopleSoft. It works great for users who’s machine is set to English.

However for users, who’s machine is set to French Canada, any letters with “accents” gets replaced by a backwards question mark (refer to the screenshots below).

Any idea what causes this and how I can fix it?

The user’s can manually type the same words (wth accents) in the comment field and this behavior does not occur.

Any help or suggestions would be greatly appreciated. Thanks in advance to taking the time to look at this issue for me…

état de compte env à your business

image

Interesting issue. Is the text displayed ok in the macro? Can you please copy the code line that fills in the text here? Are you using TYPE or XTYPE?

And is this on Windows or Mac?

Thanks for the reply. This is on Windows. Below is the line of code I’m using to enter the French language in the comments field. Thanks for your help. Let me know if you need anything else…

{
“Command”: “type”,
“Target”: “id=CUST_CONVER_DESCRLONG$0”,
“Value”: “${MyCSV[${vCounter}][3]}”,
“Targets”: [
“id=CUST_CONVER_DESCRLONG$0”,
“name=CUST_CONVER_DESCRLONG$0”,
“xpath=//*[@id="CUST_CONVER_DESCRLONG$0"]”,
“xpath=//textarea[@id=‘CUST_CONVER_DESCRLONG$0’]”,
“xpath=//textarea”,
“css=#CUST_CONVER_DESCRLONG$0”
],
“Description”: “Entering data from the csv file the COMMENTS field”
},

I tried xclick and xtype and got the following error message (partial)

E311: Failed to XType �t de compte

Additional information: I looked at the csv datasource file and everything looks good there. Just like what it looks like in the original Excel file.

This only happens when UI Vision writes the comment in a PeopleSoft comment field…

I’ve provide some additional information. If you could look at that when you have a few minutes and let me know your thoughts, I would appreciate it very much…Thank you for your help…

I see that you use XType. So this might be a keyboard setting issue, since XType is simulating keyboard entries.

Workaround: Use copy & paste instead:

  • store | ${YourFrenchText} | !clipboard - store the French text in the clipboard

  • XClick | ImageOfPeopleSoftBox.png - Set focus on input box

  • XType | ${KEY_CTRL+KEY_V} - Paste the text!

Thanks…I’m going to give that a try and see what happens. I appreciate your quick response and taking the time to look at this…

@admin…Thanks but that did not work. When we create the csv data source file, we changed the format to UTF-8. That resolved the issue and we no longer get the question marks. Thanks for your help…