FAQ Database Discussion Community

## Change cyril to western characters (both in utf-8) - php

php,utf-8,character-encoding,special-characters,cyrillic
I've got a problem with cyril characters. Our site is in utf-8 and accepts these characters, however our external sources where we pass on characters does not accept them. We are trying to pass on persons names. They have other different charsets (for example iso-8859-1). Is there any easy way...

## Has a character in python a regular expression special function?

python,regex,special-characters
Is there an easy way to verify that the given character has a special regex function? Off course I can collect regex characters in a list like ['.', "[", "]", etc.] to check that, but I guess there is a more elegant way....

## Sending an arrow key with fprintf

c,linux,special-characters,ipc,popen
I'm testing out pipes and have hit a little road block. I want to be able to simulate pressing the right arrow key through a file pointer opened by popen. The file pointer opens a display program on a different terminal, much like a projector. I would like to send...

## Remove special character from data frame in R before and after text

r,special-characters
I have the following data frame 1 +PAL+PEA+ + + + I want to remove the '+' before and after the text and get something like 1 PAL+PEA ...

## topoJSON is not correctly converting special chars from geojson like ë or ó

special-characters,flags,qgis,topojson
I really need these special (ë or ó) characters in my topoJSON file. I use QGIS and export the data as geojson. Here the special chars are all fine, still correct in the output. But when I now use topoJSON to bring all my geoJSON files together, all the special...

## Remove weird invalid character in ruby

ruby,encoding,character-encoding,special-characters
I have some XML content (UTF-8), that contains invalid characters (nokogiri tells me Line 2190, SyntaxError: PCDATA invalid Char value 15 when I try to parse the content with Nokogiri::XML(content)). The character is displayed in Sublime Text editor as a "SI": When I try to copy the character, nothing gets...

## Why python regex match function matches that special character? [closed]

python,regex,match,special-characters

## Replace special characters in string [closed]

ruby,string,special-characters
I have strings like "Ruby & Rails" "Ruby& Rails" "Ruby !Rails" I want to convert them to "Ruby-Rails". How can I do this?...

## Automatically reading data files containing special characters in Matlab

matlab,special-characters
I would like to import a data file in Matlab which is generated by an external software automatically. This data file can occasionally contain special characters in its third column at random places. Therefore, I cannot simply utilize dlmread. I'm figuring out how to import this file automatically in Matlab...

## Ionic - meta charset doesn't work

angularjs,cordova,special-characters,ionic,htmlspecialchars
In my index, I've inserted this: <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> And if I use a special character (like à or •) in the index it's displayed correctly. For example, in the header I can use special character. But if I use it in one of the view,...

## TCPDF for PHP creates empty PDF when special (slovic) character đ is used

php,pdf,special-characters,tcpdf
I'm using TCPDF to generate PDFs (obviously). All has been well, but now I'm trying to make a PDF with the character "đ" (which apparently is a slovic character). The data is user-generated, so I won't know if they're planning on using these type of characters or not - that's...

## PHP – Why does some umlaut characters show while others don't?

php,character-encoding,output,special-characters,diacritics
This is a simplified version of the code I'm currently working with – why does it work fine when using a basic echo, but fails when trying to write only a part of the string? Should I add any encode/decode/locale/utf to make this work, in that case how? <meta charset="utf-8">...