Jump to content


Photo

Problem with 'ñ' and especial characters loading .csv


  • Please log in to reply
3 replies to this topic

#1 Jaime

Jaime

    Newbie

  • UBot Users
  • Pip
  • 3 posts
  • OS:Windows XP
  • Total Memory:4Gb
  • Framework:v3.5
  • License:Standard

Posted 20 October 2011 - 01:37 AM

Hi good morning.
I'm trying to make a bot to populate form fields with data I have in a file "file.xlsx".
The content of some cells may contain 'ñ', '¡' and other special characters.
Save the file as "file.csv" and if I edit this file, the characters 'ñ', '¡' are correct.
However, when my bot reads and fill in the fields, for example:

type 'ESPA?A' when the text is 'ESPAÑA'
or
type '???ESPA?A!!!' when the text is '¡¡¡ESPAÑA!!!'

Could anyone help me solve this problem?

Thank you very much.

#2 UBotBuddy

UBotBuddy

    Professional Botter

  • Moderators
  • 3111 posts
  • LocationVirginia
  • OS:Windows 7
  • Total Memory:4Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 20 October 2011 - 03:19 AM

Unless I have missed an update. UBot does not process Unicode characters only ANSI.

NewSig2.png


#3 Eddie Waller

Eddie Waller

    Advanced Member

  • Administrators
  • 972 posts
  • LocationEast Lansing, MI
  • OS:Windows 7
  • Total Memory:3Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 20 October 2011 - 10:52 AM

Hi good morning.
I'm trying to make a bot to populate form fields with data I have in a file "file.xlsx".
The content of some cells may contain 'ñ', '¡' and other special characters.
Save the file as "file.csv" and if I edit this file, the characters 'ñ', '¡' are correct.
However, when my bot reads and fill in the fields, for example:

type 'ESPA?A' when the text is 'ESPAÑA'
or
type '???ESPA?A!!!' when the text is '¡¡¡ESPAÑA!!!'

Could anyone help me solve this problem?

Thank you very much.


If you are using UBot 4, make sure your file is encoded as UTF-8, as that is the encoding we assume when reading files.

#4 Jaime

Jaime

    Newbie

  • UBot Users
  • Pip
  • 3 posts
  • OS:Windows XP
  • Total Memory:4Gb
  • Framework:v3.5
  • License:Standard

Posted 26 October 2011 - 04:09 AM

If you are using UBot 4, make sure your file is encoded as UTF-8, as that is the encoding we assume when reading files.


Hello Eddie Waller, I would like contact you by e-mail, how could I contact with you?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users