I have an array of data in which i was using to populate my dropdown. One of its data was "DASMARIÑAS" but when i press the drop down it shows as "DASMARIÃ‘AS". I'll attach a photo bellow for reference, Thanks!
3. and lastly this is what it shows on my dropdown
Can you edit the JS in the in built editor and see if that has the same problem, I was able to have the value added via the UI and a script.
the problem using acrobat editor is it doesnt open my script. my script consists of thouasands of lines that is why im using notepad
Just for troubleshooting purposes I would suggest to use another text editor.
Notepad++ might proove to be a good choice.
* You must save the file in order for Acrobat to detect the changes
* Acrobat is inaccessible while the external editor is in use
i am now using notepad ++, what encoding should i use for this?
you can test between ANSI or UTF-8.
According to their support notes, if you save to UTF-8, save without the byte order mark.
++Adding to the discussion,
seems like a unicode or character mapping issue since you're copying and pasting from Notepad into the Acrobat JS editor.
If you're on MS Windows 10 there is a regional setting that you can disable and see if this helps.
But before I go there, when you click on the Format tab in the File Menu bar of Notepad, there are two areas of interest.
See if enabling or disabling the"Wordwrap" preference do any difference.
Also when you click on Font, notice below in that dialogue window where it says "Script".
You may have a different localization or language in your OS than the English default language of Acrobat. You may also try and change the Font script in notepad from Western to Central European or viceversa and see if that also helps.
I may be totally wrong though, but these are just a suggestions that may be useful if you're copying and pasting between two different programs, specially if one of them is not natively and fully supported by the operating system.
So the other approach that I've used successfully before, is disabling the "Beta: Use Unicode UTF-8 for worldwide language support"
Disable this option if you can confirm that the current system locale (language) of your OS is different than some of your programs.
You can find this setting via Control Panel---"Region"--- click on the "Administrative" tab, then click on "Change system locale".
The pop up dialogue box that will open provides the option to disbale the setting that I mentioned above.
Thank you JR!