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

WebClient, accented character in a query string

I run queries on a server (Oracle Reports) from an ASP.NET application with the WebClient class. I don't have hand on the server, I just can access to some logs. In one case, the query string sent to the server contains accented character (é). The…
Olof
  • 524
  • 5
  • 20
0
votes
1 answer

Replace non-ascii character by ascii code using java regex

I have string like this T 8.ESTÜTESTतुम मेरी. Now using java regex i want to replace non-ascii character Ü, तुम मेरी with its equivalent code. How can i achieve this? I can replace it with any other string. String str = "T 8.ESTÜTESTतुम…
Pritom
  • 1,294
  • 8
  • 19
  • 37
0
votes
0 answers

Restkit Response with UTF8 chars

I successfully post and receive data by using RestKit. For example, I can easily decode this response (it is the debug output from RestLog): response.body={ "response": {"fields":{"name":"test"}} } But when the data contains accents,…
gdm
  • 7,647
  • 3
  • 41
  • 71
0
votes
1 answer

Accented chars not indexed properly on Android

I have an Android app that shows an alphabetically ordered list of names. In spanish there are some names that starts with an accented character. My implementation of AlphabetIndexer orders in this way: A B C D E (regular ordering) .............. Á…
webo80
  • 3,365
  • 5
  • 35
  • 52
0
votes
1 answer

Convert from binary to ASCII Fortran

i try to convert a input_file.binary in a numbers output_file.txt with a fortran (or if someone have another idea: pyton, java, c++ ...). The ascii file is a 11 rows and N columns file with only numbers (i.e.: 1e-21, 0.0, 1 .... ). I try this post…
0
votes
2 answers

Non-ASCII characters - conversion from std::string to char*

I have a string with non-ASCII characters, for example std::string word ("żółć"); or std::string word ("łyżwy"); I need to convert it properly to const char * in order to call system(my_String_As_A_Const_Char_Pointer); I'm working on Linux. How…
enedil
  • 1,605
  • 4
  • 18
  • 34
0
votes
0 answers

utf_encode letters è ò àùì php

I have a problem with PHP. I have a form with input named text. If I send a word with accenture letters like "coupè", the $_POST['text'] return me "coupè" also utf8_encode($text). How is possible? The Db is utf-8 bin.
Beb Pratza Ballus
  • 221
  • 1
  • 5
  • 14
0
votes
1 answer

Unable to decode byte

So, I am obtaining some xml data. One such example, is as follows: xmlString = 'san diego, ça' This is currently as a string. I now need to convert it to a XML object, by using ElementTree, fromstring() method. The import is as…
redrubia
  • 2,256
  • 6
  • 33
  • 47
0
votes
2 answers

Remove special characters in regex PHP that allow accented words and chinese language

I need a solution that remove all special characters except alphanumeric and accents. I tryed this solution without success. preg_replace('/[^a-zA-ZáéíóúÁÉÍÓÚâêîôÂÊÎÔãõÃÕçÇ0-9_ \.&-]/s', '', $string); Furthermore, its need that regex (or other…
Vincenzo Lo Palo
  • 1,341
  • 5
  • 19
  • 32
0
votes
1 answer

standard keyboard character not included in Base64?

I have a function that generates a random Base64 String Public Shared Function GenerateSalt() As String Dim rng As RNGCryptoServiceProvider = New RNGCryptoServiceProvider Dim buff(94) As Byte rng.GetBytes(buff) Return…
aaronmallen
  • 1,418
  • 1
  • 12
  • 29
0
votes
1 answer

return plain text in ajax, puntuation issues

I have to return a plain text got from a file from server and show in my webpage. I am getting the file fine with ajax but I have problems with accents because it is in spanish and I have special characters like á, é, í... Instead of that, I am…
Biribu
  • 3,615
  • 13
  • 43
  • 79
0
votes
0 answers

char to UTF16 conversion

I have an unsigned char* array1 with values >127 && <255. And I want to display it in UITextView* MyTextView and then read it back from UITextView to another unsigned char* array2. As result values in array1 should equal to values in array2. I…
0
votes
2 answers

Get properties of a file whose name contains special (non-ASCII) characters

I'm using python and having some trouble reading the properties of a file, when the filename includes non-ASCII characters. One of the files for example is named: 0-Channel-https∺∯∯services.apps.microsoft.com∯browse∯6.2.9200-1∯615∯Channel.dat When I…
Xtrato
  • 455
  • 1
  • 5
  • 7
0
votes
1 answer

filestream encoding not as expected

I have a file that uses non-ASCII characters, when saving this file using a filestream the characters that end up in the file are not as expected. I write stream BT 38.3774 710 TD /F10 12.0000 Tf (België)Tj ET endstream what ends up in the file…
Sedecimdies
  • 152
  • 1
  • 10
0
votes
1 answer

Accented characters : difference before and after compilation

I made a light apps which read the HTML code of a page and display it to the user. During the developement whith NetBeans, no problems at all, but when I use the .jar given by this IDE after a "Clean Build", I have some troubles with the…
Eric
  • 33
  • 3