Questions tagged [non-ascii-characters]

ASCII stands for 'American Standard Code for Information Interchange'. ASCII is a character-encoding scheme based on the ordering of the English alphabet. Since ASCII only contains definitions for 128 characters, numerous other encoding schemes have been created to include characters from other alphabets and other symbols.

1055 questions
0
votes
1 answer

C++ DLL special characters

I'm sending an user-generated string from my program into a C++ DLL function I'm making. It works fine, until I send a string like "åäö". My function looks something like this: export void showMessage(char* str) { MessageBox(NULL, str, "DLL…
david
  • 292
  • 5
  • 20
0
votes
0 answers

Delete non printable-special characters from SQL

I am using Sybase DB and facing some issues with some tables because of special characters.. I found special characters like: ������ �Y1�0�@�D ��� ��� in one of the tables. How can I search for these and then delete from the table using SQL…
WinSupp
  • 361
  • 2
  • 6
  • 20
0
votes
2 answers

UnicodeEncodeError: 'ascii' codec can't encode characters due to één from database

I have a field to get from database which contains string with this part één and while getting this i get error: "UnicodeEncodeError: 'ascii' codec can't encode characters in position 12-15: ordinal not in range(128)" I have search this error,…
0
votes
1 answer

Bad url exception when using accented characters in url

I am using AFNetworking to fetch data from the server. When there is an accented character in my URL I get an error like this: userInfo={"NSUnderlyingError"=>#<__NSCFError:0xfd3aa70, description="bad URL", code=-1000,…
Anthony
  • 33,838
  • 42
  • 169
  • 278
0
votes
1 answer

Safe way to save strings using doctrine with accentuated characters

I'm having a weird (for me) behavior in a simple webapp built in codeigniter + doctrine. I have a local apache server and I shared hosting with the same code and both apps connect to the same database (hosted in the shared hosting) This database has…
0
votes
1 answer

How to discard String when non-ASCII value and display when ASCII value

I am writing a code for display only ASCII value.I am reading a file that contain string I want when any NON-ASCII value in file discard whole string and when Ascii value display all content from file.please help me.thank you my code is…
akki
  • 55
  • 7
0
votes
0 answers

Encoding to be used while decoding a string which has been encoded using Escape in javascript

hen Escape function was used in JavaScript to encode a string (with accents) which encoding format should be used to decode on server side? Input string : Aéroport After javascript encoding: A%E9roport After decoding on server side without using any…
0
votes
0 answers

String changes it's encoding after been append to the list

Good day to everyone! Firstly, the name of topic isnt really what's happening. But I couldnt invent anything better! I have a very simple case and I can't figure out why does it acts like it does: name = 'Balikóné' seq = [] seq.append(name) print…
Desprit
  • 707
  • 2
  • 11
  • 24
0
votes
2 answers

csv to php: accented letters?

I have a page with a part in php that converts a .csv table to html. However, I have a problem with accented letters. Indeed, these are not shown even if the page is set with meta http-equiv="Content-Type" content="text/html; charset=utf-8" and the…
0
votes
1 answer

How to validate accented characters with coffeescript regex?

I need to validate alphabetical characters in a text field. What I have now works fine, but there is a catch, I need to allow accented characters (like āēīūčļ) and on a Latvian keyboard these are obtained by typing the singlequote first ('c -> č),…
Epigene
  • 3,634
  • 1
  • 26
  • 31
0
votes
1 answer

Special HTML characters in Python to ASCII

I want to convert special characters which I see during web-page reading to the ASCII format. I've tried a lot, but I can't figure it out. I will give some examples below which are stored in a string in Python.I don't know what the current encoding…
0
votes
1 answer

SQL Server import data becoming blank, includes ASCII Null character

I have a large set of data (around 5m rows) in a dat file that I am trying to import into SQL Server. The first column should contain ID numbers. I can see the ID numbers in the preview of the Import Wizard, but they become blank when the data is…
0
votes
2 answers

Java Charset that supports all symbols using 8 bit per symbol from ranges [0-255] per character

I'm trying to pass a byte array with any kind of data ranging from 0 to 255 per element. I have to pass it into Javascript so I convert it into a String, but some characters get lost and replaced with 0x3F Question Mark. Whats the proper Charset…
SSpoke
  • 5,656
  • 10
  • 72
  • 124
0
votes
3 answers

What need I do to get an HTML page to respect a French e (é)?

I have some HTML which renders like this: "Les Misérables" Bilingual Edition: French and English Paragraph by Paragraph (Kindle only)" ...which makes it look like some kind of haywire "Les Misacrables" This is the HTML:

"Les…

0
votes
1 answer

Selenium WebDriver. Python. How to assert Chinese text in the tag?

I am getting "ASCII" errors trying use str.decode(), unicode.encode() and other functions. Can't understand how properly use it. HTML code which I am trying to assest:

本地化

My assert…