Questions tagged [diacritics]
A Diacritic is "a mark near or through an orthographic or phonetic character or combination of characters indicating a phonetic value different from that given the unmarked or otherwise marked element" -- Merriam-Webster
1,087
questions
0
votes
0
answers
21
views
Fix issue with Google Fonts bad display
Disclaimer:
I am a beginner. Please feel free to improve this question's contents as you consider.
I want to use a font from Google Fonts that is able to support a series of unusual accented ...
-2
votes
1
answer
49
views
Browse a string with its own php function, accent problem [duplicate]
I want to use my own function which inspects each character of a string.
I'm on UTF8.
I don't want an alternative with str_replace or preg_match, but i want to understand why it's not working.
`
...
0
votes
0
answers
23
views
WebScraping with Java getInputStream(), redirect and umlauts
I have a url url = new URL("https://website.com/lang/npc="+id); and want to load the content with con.getInputStream() but that results in Server redirected too many times (20).
This ...
0
votes
0
answers
10
views
create glyphs with diacritic marks
I would like to add a letter h with a dot below (U+1E25) to a free font from google. Is it possible to just duplicate the letter h and paste it to another position and draw a dot under it?
If so, what ...
0
votes
1
answer
70
views
C++: Convert String into Hex with support for diacritics
Diacritic Wikipedia
I've build an EEPROM (Kind of like a very low tech USB stick) Programmer and I'm writing a program witch reads text from a txt file and then converts it into bin/hex that the ...
-4
votes
1
answer
39
views
I need to replace all ü Characters with ue from my Textfile. If Im trying this I get "ou out. How can I remove the " from ou?
I need to replace all ü Characters with ue from my Textfile.
I tried the following:
set -e 's/ü/\"ue/g
Output: "ue
If im writing it like this I became E:
set -e 's/ü/\ue/g
Output: E
My ...
2
votes
2
answers
66
views
Detect if a string contains "Letter with Tilde" or "Letter + Combining Tilde"
i have this two example strings:
$a = 'Anão';
$b = 'Anão';
They visually look the same, but the 3rd character is different:
On string $a is Unicode 227 (latin small letter a with tilde) and on string ...
0
votes
1
answer
73
views
How to send accented characters with diacritics in HTTP request-payload?
I am requiring to send special characters like accented characters with diacritics, e.g. o-acute ó, via API
This is my test code
import string
import http.client
import datetime
import json
def ...
0
votes
2
answers
102
views
Neither ASCII or UTF8 can decode French characters, what should I do?
I have the following function:
private void ReceivedData(byte[] data)
{
string info = Encoding.ASCII.GetString(data);
When I use this, then the data, containing an é character, replace that ...
0
votes
0
answers
14
views
Is there any way to replace all greek letters with accents with the ones without? (the need is to handle an nlu problem with greek utterances)
I am currently building a chatbot for greek users and i need to avoid adding duplicate utterances for 'with' and 'without' accent cases so as to not have a heavy model.
Do you know if there is a way ...
0
votes
0
answers
31
views
PCRE2 doesn't match umlauts using "with diaeresis" and "combining diaeresis"
I'm using pcre2 (build with unicode support) in a C++ program. I could successfully match umlauts including mixed upper-/lowercase:
auto s1 = "äöü";
auto s2 = "ÄÖÜ";
pcre2_compile(...
0
votes
1
answer
58
views
cv2.imread file with accent (unicode)
I am trying to load the following file: 'data/chapter_1/capd_yard_signs\\Dueñas_2020.png'
But when I do so, cv2.imread returns an error: imread_('data/chapter_1/capd_yard_signs\Due├▒as_2020.png'): ...
2
votes
3
answers
177
views
Powershell Regex for German Umlaute based on upper/lowercase and position in String
I am trying to write a Script in Powershell to convert German Umlaute
ä, ö, ü, ß to ae, oe, ue, ss
Ä, Ö, Ü, ß to AE or Ae, UE or Ue, and SS.
The Problem is that i also need to differentiate based ...
0
votes
1
answer
69
views
ASP.NET Core 6 using email addresses with umlauts ä ü ö throws exception: Requested action not taken: mailbox unavailable
I'm getting this error using the common EmailSender service with email address like test@pläne.de:
An unhandled exception occurred while processing the request.
SmtpException: Mailbox unavailable. ...
0
votes
1
answer
33
views
Wordpress CPT not showing title with diacritic signs in admin panel
In admin panel, cpt titles with diacritic signs are not shown and i dont know what happened. On my test server it is all good, but when i uploaded all changes to client's server i got this problem.
...
-2
votes
1
answer
47
views
Remove accents in python
I'm trying to remove all the accents in a string in python using unidecode
and it work pretty well
import unidecode
print(unidecode.unidecode('ááíãôç'))
it returns
aaioac
The problem is that i need ...
-1
votes
1
answer
131
views
Tesseract OCR accents problems, image enhancement not enough
I really need your help with Tesseract.
I'm using Tesseract and pdf2image to extract informations from a scanned PDF file.
My problem is that Tesseract messes with the accents é, è et ê (i'm french) ...
1
vote
0
answers
15
views
is python using iso-8859-1 and utf-8 at the same time?
kh@lara:~/tmp $ python
Python 3.9.2 (default, Mar 12 2021, 04:06:34)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more ...
-1
votes
1
answer
30
views
Javascript diacriticless query to find all instances of words with diacritics
I would like to have a Javascript that finds all instances that correspond in array (multi-line text file) containing the words with diacritics, that correspond the diacritic-less search query. For ...
6
votes
3
answers
121
views
Julia: How to read in and output characters with diacritics?
Processing ASCII characters beyond the range 1-127 can easily crash Julia.
mystring = "A-Za-zÀ-ÿŽž"
for i in 1:length(mystring)
print(i,":::")
print(Int(mystring[i]),":...
1
vote
0
answers
49
views
matplotlib display accented characters in Computer Modern
I want use font typ Computer Modern for text on a figure. But the accented characters, such as ä, ü, can not be displayed. If i use the default font DejaVu Sans, it works without any problems. Does ...
0
votes
1
answer
63
views
Send email with PDF attachment with umlauts üäö and with HTML content in body
i handcraft a php file and it works. it sends a fpdf as attachment. but now, how to use umlauts in sender, subject and text and how use html-content instead of only unformatted text in mail body?
here ...
0
votes
0
answers
109
views
Problem with accents after generating pdf file with java
i'm working with liferay 7.2 on local and after generating pdf, working so fine for me
after deploying on test site the pdf is generated without recognizing letters with accents like é
a collegue told ...
0
votes
0
answers
33
views
Dict and json with accents
I am trying to request/ POST a JSON, but the DICT has some accents. I am getting the data from a CSV file. When I request, I get an error because the client does not recognize the parameters.
url='...
2
votes
2
answers
768
views
How to replace accented characters in PySpark?
I have a string column in a dataframe with values with accents, like
'México', 'Albânia', 'Japão'
How to replace letters with accents to get this:
'Mexico', 'Albania', 'Japao'
I tried many solutions ...
0
votes
1
answer
33
views
PHP dont write accents
My code generates a message that I get them with file_get_contents. However, this message can be, eventually, have accents in some words, like á, ã, ç...
The PHP change this accented characters to ...
2
votes
0
answers
76
views
How can I accentuate words in Fortran and print to the screen without errors?
In C, when we want to print an accented word, as in the Portuguese language, we use the library locale.h and the command setlocale(LC_ALL, "Portuguese") so that the output is printed on the ...
1
vote
0
answers
86
views
Perl/MariaDB: conflict with decoding (execute failed: Incorrect string value: '\xE4...')
I extract data from html-files with perl and want to insert the data into a database. But there is a strange behaviour with umlauts (ä,ö, ...).
The setup is:
use DBI;
use DBD::mysql;
use HTML::...
0
votes
0
answers
32
views
I have data in Sql table but id doesnt output the right characters from SQL Table [duplicate]
I have a question , i have read all the possible answers but i don't find the solution.
i have data in mysql but when i select data from mysql and show it in html web page then it doesn't show german ...
2
votes
1
answer
74
views
Handling Umlauted characters in PySpark
I have struck an issue where in I want pandas df created from a spark df, to understand Umlauted characters.
This is a minimal reproducible example:
from pyspark.sql.types import StructType,...
1
vote
1
answer
71
views
Make exception when replacing diacritics with regular characters
Trying to make an exception to all characters that have been converted to regular letters.
txtValue.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
As you can see, I replace all the special ...
5
votes
2
answers
78
views
How to make charArray that doesn't separate diacritics?
I'm trying to separate a Hebrew word into letters in C#, but ToCharArray() separates the diacritics as if they're separate letters (which they're not). I'm fine with either keeping the letters whole ...
0
votes
1
answer
63
views
Oracle SQL select query that return results with diacritis inside the name
Hello I have a Java app that runs an Oracle SQL select query that returns some results.
This is the select:
select a,b,c where a='%ruicanescu%'
This returns only results where the name is exactly '...
0
votes
1
answer
343
views
How do you print accented characters?
I want to write a program that takes text from a file and prints the selected lines. When printing a word containing an accented character like "ó", I get "Ã-". I'm just trying to ...
0
votes
0
answers
19
views
RealmDB and diacritical letters problem with upper and lower case
I have project where I use RealmDB. When I use search feature with normal string(letters) it work well - upper/lower letters are in mode Case.INSENSITIVE, but it doesn't work with diacritical letters.
...
0
votes
1
answer
101
views
Liferay portal 7.3.7 case insensitive, diacritics free with ElasticSearch
I am having a dilema on liferay portal 7.3.7 with case insensitive and diacritis free search through elasticsearch in JournalArticles with custom ddm fields. Liferay generated fieldmappings in ...
0
votes
1
answer
118
views
Special character returns wrong codepoint
We have a problem with reading special characters from our database. We have character encoding configured as UTF-8 everywhere and the database seemingly stores all characters fine. For example we ...
0
votes
1
answer
56
views
How to correctly display umlauts in nodejs (electron)?
I have following function in my C#-Library which returns a xml string
[DllExport]
public static string ReadData(ushort port){
...
return xmlString;
}
I have a tag containing the letter "...
0
votes
1
answer
2k
views
Power Query: how to remove diacritic/accent symbols from text
How to remove diacritic/accent symbols from text in Power Bi / Power Query ?
Example:
Convert this: 'ÀÁÂÃÄÅàáâãäåÒÓÔÕÕÖØòóôõöøÈÉÊËèéêëðÇçÐÌÍÎÏìíîïÙÚÛÜùúûüÑñŠšŸÿýŽž'
to this: '...
0
votes
0
answers
112
views
Create a pretty HTML diff that marks differences in diacritics
It is easy to create a pretty HTML diff in python using Google's diff_match_patch python version (unfortunately not maintained anymore):
from diff_match_patch import diff_match_patch
dmp = ...
0
votes
1
answer
79
views
Cannot remove remote branch which name contains diacritics
I made a mistake and named a branch with some diacritics (let's say temp-à-définir) and I pushed it to the remote.
Obviously, the next git fetch gave me :
error: * Ignoring funny ref 'refs/remotes/...
4
votes
1
answer
696
views
Diacritic normalization in excel formula, without vba
How to replace diacritics (accented characters) with corresponding alphabetical character with regular formula: =SUBSTITUTE(A1,"é","e"), without VBA, for large range of uppercase ...
2
votes
1
answer
182
views
Replace all non-alphanumeric characters, including wildcards
I take this beautiful formula from JvdV answer:
=TRIM(CONCAT(IF(ISNUMBER(SEARCH(MID(A1,ROW(A$1:INDEX(A:A,LEN(A1))),1),"-./ 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ")),MID(A1,ROW(A$1:INDEX(A:A,...
0
votes
1
answer
105
views
IIS not passing URL which contain diacritic symbols
I have a Django app installed on my IIS server. Everything works great on my local PC but links/URL on IIS app don't work if the contain diacritic symbols. If I use symbols like '%' it works fine.
...
9
votes
3
answers
762
views
How to get the accent/diacritic of a letter in javascript?
I want to get the accent/diacritic of a letter in javascript.
For example:
ñ -> ~
á -> ´
è -> `
I tried using .normalize("NFD") but it doesn't return the correct accent/diacritc
...
0
votes
0
answers
19
views
R markdown export diacritics
I am trying to export a summary of categorical variables through the R markdown. The output of the summary is in the Czech language with diacritics, but the R isn't able to encode it.
Example
summary(...
0
votes
1
answer
40
views
MYSQL: best utf setting for ACCENT sensitive but CASE insensitive
For example, ἐν or Ἐν are the same, but should be distinguished from ἕν/Ἓν. I've tried utf8_bin which seems to be the closest, but is also case sensitive.
1
vote
1
answer
85
views
Missing diacritics in GT table output
I am using GT package in R to create tables for my diploma thesis and I ran into a problem. The diploma is to be written in the czech language.
When GT draws the table it does not display the letter ě ...
0
votes
1
answer
126
views
Unable to open File with Umlauts (chcp 65001/1252) with JAR - JAVA
I have a File that contains Umlauts (erklärung1.txt) that I need to process using my JAR File.
I implemented my Code in IntelliJ, and when I run it from there, it can find and open the file without ...
0
votes
0
answers
26
views
Why does "sort -d" fail for words with accents? [duplicate]
How to get correct sort ignoring case for these word:
Diplôme
éboueur
Français
On MAcOs Monterey, Macbook Pro, GNU bash, version 5.1.16(1)-release (x86_64-apple-darwin21.1.0), sort (GNU coreutils) 9....