special-characters

Character corruption going from BufferedReader to BufferedWriter in java

In Java, I am trying to parse an HTML file that contains complex text such as greek symbols. I encounter a known problem when text contains a left facing quotation mark. Text such as mutations to particular “hotspot” regions becomes mutations to particular “hotspot�? regions I have isolated the problem by writting a simple text...

What encoding scheme should be used in a web project?

We are building a (Java) web project with Eclipse. By default Eclipse uses Cp1252 encoding on Windows machines (which we use). As we also have developers in China (in addition to Europe), I started to wonder if that is really the encoding to use. My initial thought was to convert to UTF-8, because "it supports all the character sets". ...

.docx to html friendly text

Hi, I need a way to strip the uncompatible characters in the .doc/.docx files my clients send me for content. Right now I've been relying on find/replace which is really annoying. How do you take your .doc/.docx and convert them into html friend text? thank you! Here are some of the special characters that are messing up... ” - “...

SQL query search ampersand &

Need to write a SQL query to search special character in a column. Text needed to search is 'R&D' but issue is that SQL server 2005 is taking it as a logical operator. Any help? ...

how to display special characters correctly in the website - html

hi if you can check in my code here, you can see that the "umlauts" or the special letters in german are not displaying properly. How can i display them properly do i have to put something in my code? Thanks oops jsfiddle is not working... so i posted it here: thanks: http://www.tintin.ws/files/newsletter006.html ...

Redirecting a url containing a hollow square character

A link from a website beyond my control links to an erroneous url. The erroneous url contains a hollow square character. How do I write a redirect 301 to deal with this occurance? When attempting to paste the character in the .htaccess file I get a question mark. If I need more than a redirect 301, then what? ...

Javascript replacement of the characters *, +, and / within a string

Alright, so I'm currently working on a simplistic manner of mimicking the function of PHP's urlencode() with JS's escape() and some string replacement. I'm purely looking at keyboard characters, so no special ASCII or Unicode characters. The problem I'm encountering is that the specific characters *, +, and / all have special meanings ...

Display Special Characters (Korean Letters) in RichTextBox

Hi, My question might be a little bit confusing, but I think it's still worth of paying some attention. Basically I'm designing a program to display all printable Unicode characters in a RichTextBox. I'm using VC# 2010 Express Edition. However, the RichTextBox has a critical problem: some special characters cannot be displayed correc...

InstallShield: Handle password with special characters

Hello, I have an installer (InstallShield/ InstallScript) and during the installation process it verifies username/ password, using external simple C# application which calls Windows advapi32.dll LogonUser function. (I know that InstallShield provides its own function for verification, we had some problems with that and because of that ...

Oracle special characters

I have a query select * from table where name in ('52 T&M', '60 T&M'); The "&" is causing the query to expect a parameter. How do I qualify the "&" in the query to sting so that the query can find string with the "&" character in them? ...

how to use request parameter with special character in HTTPService - Flex

Currently I have : <mx:HTTPService id="userLogin" url="https://api.localhost/api/user/login/" method="POST" resultFormat="e4x" result="doSomeThing(event)"> <mx:request> <email>{loginUser}</email> <password>{loginPassword}</password> </mx:request> </mx:HTTPService> instead of this I have par...

How to set up your username in Git if it contains special characters?

Hey there. I'm using Git for windows (The msysgit project). And working with the GIT Bash. I'm also pushing my programmed stuff to gitHub. The problem is that my gitHub's user name contains a "č" character and the GIT Bash won't let me type that in. Is there a way of setting my --global user.name within my GIT settings to contain that "č...

SEO - Special chars in title and alt attributes

Hello. Are special chars like &aacute; in alt and title attributes a problem for SEO? Thanks! Diego ...

Content type vs HTML encoding

Hello! I'm bulding a site and I've set its content type to use charset UTF-8. I'm also using HTML encoding for the special characters, ie: instead of having á I've got &aacute;. Now I wonder (still bulding the site) if it was really necesary to do both things. Looking for the answer I found this: http://www.w3.org/International/questi...

java decimal separator

Hi mates, Is there a way to configure Java's decimal separators with JVM parameters? I'd know how to do it in code level, but unfortunately this time I cannot touch it. I have now: "1,322.03" and I wish there was some config that would make that look like 1.322,03. Oracle has that NLS_NUMERIC_CHARACTERS, which solve's for me in most c...

How can I copy files with special characters in their names with Perl's File::Copy?

I am trying to copy all files in one location to a different location and am using the File::Copy module and copy command from that, but now the issue I am facing is that I have file whose name has special character whose ascii value is &#253 but in unix file system it is stored as ? and so my question is that will copy or move command c...

PHP: regex & hash key in string

How do I address special characters in Regex? @ ? # $ % %... this patten searches for a letter that comes between a prefix and a suffix. $pattern = '/((?<!\b$PREFIX)$LETTER|$LETTER(?!$SUFFIX\b))/i'; $string = 'end'; $prefix = 'e'; $letter = 'n'; $suffix = 'd'; But what if $string began with a # $string = '#end'; $prefix = ?...

SQLite - Insert special symbols (trademark, ...) into table

How can I insert special symbols like trademark into SQLite table? I have tried to use PRAGMA encoding = "UTF-16" with no effect :( ...

How to specify &mdash; as an attribute value in JSF?

When I tried the next code: <o:weekSwitcher splitter="&mdash;"/> I received error "unresolved entity reference mdash". How can I work around this issue? ...

Cleaning up 'smart' characters from Word in Ruby

I need to clean up various Word 'smart' characters in user input, including but not limited to the following: &#8211; EN DASH &#8216; LEFT SINGLE QUOTATION MARK &#8217; RIGHT SINGLE QUOTATION MARK Are there any Ruby functions or libraries for mapping these into their ASCII (near-) equivalents, or do I really need to just do a bunch of...