special-characters

Caesar Cipher in Java (Spanish Characters)

I've reading this question, and I was wondering if Is there any way to consider the whole range of characters? For example, "á", "é", "ö", "ñ", and not consider " " (the [Space])? (For example, my String is "Hello World", and the standard result is "Khoor#Zruog"; I want to erase that "#", so the result would be "KhoorZruog") I'm sure my...

Core data and special characters (UTF-8)

I have an iPhone application using Core Data with an SQLite database in the bottom. I'm writing some text content from the database to a file, but special characters such as Å, Ä and Ö are corrupted in the file (they show up just fine in the application). When creating and inserting data, I am not using any special encoding. I'm just ta...

How can I write character & in android strings.xml

I wrote the following in the strings.xml file: <string name="game_settings_dragNDropMove_checkBox">Move by Drag&Drop</string> I got the following error: The reference to entity "Drop" must end with the ';' delimiter. How can I write character & in the strings.xml? ...

Why are there two slashes - forward and backward?

I'm totally confused which one to use and when, first thing I do when something goes wrong in code with a slash is replace the one with other so my test cases double with one for / and one for \ .Help me to get the logic behind slashes. ...

Which character is used to fill contents of password text input ?

I need this filled-circle character for my sketch of the UI. I have not found it in characters table on my mac. ...

Displaying Unicode/ASCII Characters on console or window

I couldn't display a 'bullet' of character code DEC 149 which can be found on ASCII Chart. cout << char(149) << endl; it comes out as ò on console window. I know a few characters from charmap that I'd like to use but how would i know their character codes? ...

Special and accented characters

I am doing some work for a French client and so need to deal with accented characters. But I'm running into a lot of difficulty, I am hoping the solution is simple and that somebody can point it out to me. The string: La Forêt pour Témoin is converted to: La For? pour T?oin Note the missing character following the accented character - ...

XMLHttpRequest with special characters in Safari Extension does not work

Im trying to make an extension to Safari that authenticates with http://myphotodiary.com's API. And it works well, for all passwords that dont include special characters like: å,ä,ö and space I have the following code working now: var xmlHttp = new XMLHttpRequest(); var url = "https://api.myphotodiary.com/user_status.json?api_ke...

Special character handling in javascript

I have some web pages. User can enter anything he wants into the forms which are in my web pages. I want the special characters(which are visible and non visible on keyboard) to save in Database and retrieve them as it is. Any suggestions ? ...

Replace regular expression with \t in Notepad++

Hi guys, simple example in Notepad++ using RegEx replace search for: anything replace with (wanted): \test guess for regex replace string: \test results in: tabest, so the \t is interpreted as a tab guess for regex replace string: \\test results in: \ tabest, so the first \ is interpreted as a \, the \t is interpreted as a tab guess f...

What is the character encoding that could match this conversion: From "§" To "Ç"?

The line bellow is as an example of one of many files with wrong character encoding that I have; REAPRESENTA§AO VIA DTENTRY The correct presentation should be this: REAPRESENTAÇAO VIA DTENTRY There's more characters with wrong encoding. How do I correct this? ...

Objective C ==> char ==> Special characters???

char c1 = 'A'; char c2 = 'F'; char final = (char) c1^c2; This always return the result i am looking for, but it doesn't work if either c1 or c2 contain special characters. Any idea what i can change to allow special characters? Thanks ...

Non ASCII characters not being shown up

Hi, I have a little strange problem. I am working on a java web start application(using swing) which paints a particular image on the (canvas)JPanel. Some of the placeholders on it have some non ASCII characters as their text. Now when that image is being painted on the canvas, the canvas shows '[]' as if it is unable to recognize...

Using Special Symbols in ASP.NET MVC Routes

Hello! I want to use the url such as "/ControllerName/ActionName/Id" Id - only digits or null. But when I use regular expression in MapRoute, "\d{1,4}", I see the exception - error404 page, when I'm trying to see /ControllerName/ActionName/" page. Also, I don't know, how I can catch exception with special symbol - ". Please, help.Thanx....

Replace &Aring; with something else...

How can I replace &Aring; with some other string using preg_replace? Thanks! ...

Grab Kanji webpage using Nokogiri

Hi, I would like to grab a kanji table on a Wikipedia page and I have a trouble using Nokogiri with special char. Here is my script: # -*- encoding: utf-8 -*- require 'rubygems' require 'nokogiri' require 'open-uri' link = 'http://en.wikipedia.org/wiki/List_of_j%C5%8Dy%C5%8D_kanji' doc = Nokogiri::HTML(open(link)) doc.encoding = 'U...

Filename completion in vim with xterm doesn't work as expected

Something funny is going on with my vim. I'm using it through xterm. I want to be able to autocomplete filenames that I try to open. For example: # Cursor is | character :o exam| :o exam|<TAB> :o examplefile.txt| I was sure vim supported this, but it's not working for me. When I hit <TAB> an ^I character is inserted instead of comple...

How to I represent a '<' character in my XML documentation?

I've seen various questions here on SO involving Microsoft's XML documentation tags, but I'm having trouble adding some example code: /// <summary>Return the oldest acceptable timestamp for a data packet.</summary> /// <example> /// if( GetOldestValidResultTime() < lastResultTime ) /// { /// Console::WriteLine("Results are too old")...

non printable characters in java

Please, can you give me a list of non printable characters in java programming? Thank you in advance. ...

special Characters in Perl

I'm creating a CGI form to update a Sybase stored procedure. qq {execute procedure test(123,45,date,'$note');}; the $note variable is information obtained from a textbox that contains trouble ticket log information. As such people who enter such information can, and most likely will use special characters such as '|"{} etc. Im curious...