diacritics

Croatian diacritic signs in MySQL db (utf-8)

三世轮回 提交于 2019-12-07 13:24:19
问题 Diacritic signs http://img98.imageshack.us/img98/3383/dijakritickiznakovi.gif So, symbols belows display title should be displayed that way. UTF-8 entities are listed below HTML (utf-8) title (here is list: LINK) And last line shows what is stored in my database. Collation of db table is utf8_unicode_ci . I suppose that symbols in db shouldn't be as they are in my case? They are displaying correctly on page when loaded from database, but they all of them are not displayed by utf-8 table from

WCF and custom text encoding - messy business

。_饼干妹妹 提交于 2019-12-07 10:23:27
问题 I have a really weird WCF problem here... We're connecting to a crappy third-party web service; it was a nightmare to even get it going, we had to create a custom WCF binding since those guys decided to use "ISO-8859-1" as their text encoding (instead of UTF-8 like everyone else on the web), and the other settings were messy, too - and not documented anywhere, of course... It's been working ok for a while now, but suddenly, some of our data coming back in mangled up. We expect to get back

iTunes Connect: App name with special characters (german 'umlaute')

爷,独闯天下 提交于 2019-12-07 07:31:02
问题 Today I wanted to submit a new german app with an 'umlaut' in app name: "Börse". There are plenty of Apps in the AppStore with special characters "Diät, Führerschein" etc. When I enter the app name a JavaScript onBlur event send the name to a server and then every special charcters are stripped out. Can anyone confirm this problem? I tested it under OS X Snow Leopard, Windows 7, Chrome, Safari, Firefox. I also disabled JavaScript, but still no luck. Screenshots: http://dl.dropbox.com/u

UTF-8 PDF generated with TCPDF showing up fine in Adobe Acrobat but corrupted in Illustrator and Google preview

限于喜欢 提交于 2019-12-07 07:16:38
问题 I use PHP and TCPDF to generate online invoices encoded in utf8. I've created font definition files following the tutorial on the tcpdf website using PT-sans .ttf file. Generated pdf files look fine (accents are displayed correctly) when opened with Adobe Reader. But as soon as you open the pdf file with Adobe Illustrator, you'll see a mix of normal ascii characters and missing characters signs. When opened as attachment in the gmail preview, no text is displayed at all, just images will show

PHP charset accents issue

微笑、不失礼 提交于 2019-12-07 06:05:54
问题 I have a form in my page for users to leave a comment. I'm currently using this charset: meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" but retrieveving the comment from DB accents are not displaying correct ( Ex. è =>è ). Which parameters should i care about for a correct handling of accents? SOLVED changed meta tag to charset='utf-8' changed character-set Mysql (ALTER TABLE comments CONVERT TO CHARACTER SET utf-8) changed connection character-set both when inserting

How to export umlaut (or any foreign character) in Matlab eps format?

核能气质少年 提交于 2019-12-07 01:03:24
问题 I'm trying to use an umlaut within a legend command in MATLAB. A quick Google tells me the form I want is char(146) , and that works fine for displaying the file, or printing it to tif. But when I print to EPS format (or epsc, eps2, epsc2) then a different character is displayed in the file. I've tried printing the first 300-odd characters, and they certainly change (albeit very slowly, a good half of which are "A" with a symbol immediately afterward), but this seems a pretty slow approach,

Remove accents from a dataframe column in R

旧城冷巷雨未停 提交于 2019-12-06 23:17:08
问题 I got a data.table base. I got a term column in this data.table class(base$term) [1] character length(base$term) [1] 27486 I'm able to remove accents from a string. I'm able to remove accents from a vector of string. iconv("Millésime",to="ASCII//TRANSLIT") [1] "Millesime" iconv(c("Millésime","boulangère"),to="ASCII//TRANSLIT") [1] "Millesime" "boulangere" But for some reason, it does not work when I apply the very same function on my term column base$terme[2] [1] "Millésime" iconv(base$terme

How to deal with quotes and apostrophes for string comparison in MySQL so they match (collation)

拈花ヽ惹草 提交于 2019-12-06 08:19:44
问题 MySQL uses collations to do string comparison because some characters should match Exemple: SELECT 'é' = 'e' COLLATE utf8_unicode_ci; SELECT 'oe' = 'œ' COLLATE utf8_unicode_ci; both return true Now, how can I do the same with quotes (') vs apostrophes (’) This is not the same character, the proper character to use when writing “it’s” or “l’oiseau” (in french) are both the apostrophe. The fact is that neither utf8_general_ci or utf8_unicode_ci collate them. The easy solution is to store

Convert non-ascii domain to SMTP compatible

狂风中的少年 提交于 2019-12-06 07:40:59
问题 When customers enter email addresses with non-ascii chars like äüö our SMTP rejects to process them. So I think might be there is a solution to handle those domains myself and convert them to punyocode. Is there a simple way of doing so using c#? Would this work anyway? 回答1: You can use Uri.DnsSafeHost to convert to Punycode: using System; class Test { static void Main() { Console.WriteLine(ConvertToPunycode("caf\u00e9.com")); } static string ConvertToPunycode(string domain) { Uri uri = new

Replace worldwide diacritics characters [duplicate]

纵然是瞬间 提交于 2019-12-06 07:23:06
This question already has answers here : Closed 8 years ago . Possible Duplicate: PHP: Replace umlauts with closest 7-bit ASCII equivalent in an UTF-8 string I want to replace diacritics characters with his non-diacritics brother. example: from "guľôčka" I wanna get "gulocka" Is here some native function to do it? I was looking for list of all worldwide diacritics characters for replace with str_replace. I can't find it. Thanks a lot. You can achieve this by using iconv , available in PHP , and requesting an encoding conversion with transliteration . (This actually works for many different