diacritics

Umlauts in gnuplot command line

梦想与她 提交于 2019-12-06 04:18:32
I want to plot surface data in gnuplot (I'm new with gnuplot and found nothing in the docs or via google that worked). It works pretty ok for the beginning with Splot "heightfield.dat" . The problem I have is the path to the file. It contains Umlauts (contains a Ü ). I can not change into this folder with cd or plot with a path like this. Of course I just changed the Ü to a U to work, but this is kind of a dirty hack. The problem is that I can not even type it. When I type Ü it is replaced with \U+FFC3 . I tried to set encoding utf8 and others, but nothing worked. It seems only affect the

Delphi XE AnsiStrings with escaped combining diacritical marks

女生的网名这么多〃 提交于 2019-12-06 03:19:41
问题 What is the best way to convert a Delphi XE AnsiString containing escaped combining diacritical marks like "Fu\u0308rst" into a frienly WideString "Fürst"? I am aware of the fact that this is not always possible for all combinations, but the common Latin blocks should be supported without building silly conversion tables on my own. I guess the solution can be found somewhere in the new Characters unit, but I don't get it. 回答1: I think you need to perform Unicode Normalization. on your string.

Mysql german accents not-sensitive search in full-text searches

谁说我不能喝 提交于 2019-12-06 02:38:15
Let`s have a example hotels table: CREATE TABLE `hotels` ( `HotelNo` varchar(4) character set latin1 NOT NULL default '0000', `Hotel` varchar(80) character set latin1 NOT NULL default '', `City` varchar(100) character set latin1 default NULL, `CityFR` varchar(100) character set latin1 default NULL, `Region` varchar(50) character set latin1 default NULL, `RegionFR` varchar(100) character set latin1 default NULL, `Country` varchar(50) character set latin1 default NULL, `CountryFR` varchar(50) character set latin1 default NULL, `HotelText` text character set latin1, `HotelTextFR` text character

Java PDFBox - Reading and modifying a pdf with special characters (diacritics)

情到浓时终转凉″ 提交于 2019-12-06 00:20:33
问题 i'm trying to modify a pdf using this method (first code block - using PDFStreamParser and iterating through PDFOperator, then updating COSString when needed): http://www.coderanch.com/t/556009/open-source/PdfBox-Replace-String-double-pdf I'm having an issue with some UTF-8 characters (diacritics): when I print the text that i want to update it show like "Societ? ?ii Na?ionale" (where '?' is a code like 0002 or 0004). The funny things are: when I write the updated pdf file, the characters are

remove umlauts or specialchars in javascript string

女生的网名这么多〃 提交于 2019-12-05 20:57:08
Never played before with umlauts or specialchars in javascript strings. My problem is how to remove them? For example I have this in javascript: var oldstr = "Bayern München"; var str = oldstr.split(' ').join('-'); Result is Bayern-München ok easy, but now I want to remove the umlaut or specialchar like: Real Sporting de Gijón. How can I realize this? Kind regards, Frank replace should be able to do it for you, e.g.: var str = str.replace(/ü/g, 'u'); ...of course ü and u are not the same letter. :-) If you're trying to replace all characters outside a given range with something (like a - ),

Croatian diacritic signs in MySQL db (utf-8)

北城以北 提交于 2019-12-05 19:50:41
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 given link. Even if I see them correctly maybe someone other won't? Setting the MySQL table charset is

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

最后都变了- 提交于 2019-12-05 12:35:18
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/2213241/Bildschirmfoto%202011-09-26%20um%2016.11.31.png http://dl.dropbox.com/u/2213241/Bildschirmfoto%202011

PHP include html page charset problem

廉价感情. 提交于 2019-12-05 11:53:33
after querying a mysql db using the code below i have generated an html file: $myFile = "page.htm"; $fh = fopen($myFile, 'w') or die("can't open file"); fwrite($fh, $row['text']); fclose($fh); On the msql db the text is encoded using utf8_general_ci. But i need to include it in a php web page as shown below: <?include('page.htm');?> bearing in mind that the php web page uses utf8 charset on the header: <meta http-equiv="content-type" content="text/html; charset=utf8" /> Now if i write on the db some letters with grave accent (è à ì) or a quote character and i open directly page.htm and on the

PHP charset accents issue

走远了吗. 提交于 2019-12-05 09:13:23
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 records and retrieving ($conn->query('SET NAMES utf8')) Now accents are displaying correct thanks Luca

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

好久不见. 提交于 2019-12-05 04:51:05
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, and I'm not guaranteed to actually find the symbol I want. So, does anyone here have any ideas on what I