I need to find occurences of é ou è in a mysql table.
First tried :
SELECT "LéL" like "%é%";
which doesn't work : it returns word containing e or é or è.
I also tried with regex without results (using the the letter L):
SELECT "Lbc" REGEXP ".*L.*"; -- works : it finds L in the string LBC
SELECT "Lbc" REGEXP ".*\u4C.*"; -- does...
When one creates web content in languages different than English the problem of search engine optimized and user friendly URLs emerge.
I'm wondering whether it is the best practice to use de-accented letters in URLs -- risking that some words have completely different meanings with and without certain accents -- or it is better to stick...
I'm trying to create a mailto link that contains french accented characters as the subject and email body. Both HTML and URI encoding the chars does not work. Here is my code:
<a href="mailto:%20?subject=ce%20titre%20est%20cass%C3%A9.&body=travaux%20deja!%20cesser%20d'%C3%AAtre%20t%C3%AAtu">SEND EMAIL</a>
Same result occurs without U...
I have written an XML file which is using the ISO-8859-15 encoding and most of the data within the feed is ran through htmlspecialchars().
I am then using simplyxml_load_string() to retrieve the contents of the XML file to use in my script. However, if I have any special characters (ie: é á ó) it comes out as "é á ó". The
How can I ...
Source file has:
header('Content-type: text/html; charset=iso8859-1');
Source ajax (jQuery) script is:
$(document).ready(function() {
$.ajaxSetup({
cache: false
});
$("#searchfield").keyup(function(){
$("#insert_search")
.load('ajax/searchobjects.php', {search_word: $("#searchfield").val()}, function(){
});
});
});
...
Hi, I'd like to know how to convert to upper case the input from the keyboard either if they are letters or numbers (only).
I'm learning to program and I'd like to do it in the Java language. I have to remove the accents if the input has it and convert the input in the upper case letter.
I have an idea of this but I'd really appreciat...
It seems that if you call ToAscii() or ToUnicode() while in a global WH_KEYBOARD_LL hook, and a dead-key is pressed, it will be 'destroyed'.
For example, say you've configured your input language in Windows as Spanish, and you want to type an accented letter á in a program. Normally, you'd press the single-quote key (the dead key), then...
Hello,
I'm trying to convert a C++ string to a wstring.
I found the following code, that seems to deal with accents, which is what I'm looking for.
std::wstring widen(const std::string& s)
{
std::vector<wchar_t> buffer(s.size());
std::locale loc("fr_FR");
std::use_facet< std::ctype<wchar_t> >(loc).widen(s.data(), s.data() + ...
Hi,
My IE and Chrome browsers are not displaying the French phrases correctly when I go from a French phrase (onload function) to a English phrase (onmousedown function) and back to a French phrase (onmouseup function). When I let up on the mouse of a particular phrase it goes back to French but the special characters for ô and é (which...
I'd like to be able to do queries that normalize accented characters, so that for example:
é, è, and ê
are all treated as 'e', in queries using '=' and 'like'. I have a row with username field set to 'rené', and I'd like to be able to match on it with both 'rene' and 'rené'.
I'm attempting to do this with the 'collate' clause in MyS...
I've some records in a DB where one of the VARCHAR fields may contain accented letters. If I do the following query using the CLI MySQL client I get 1 row returned, which is correct:
SELECT site_id, site_name FROM tbl_site WHERE site_name LIKE '%ém%'
However, using some PHP (PDO) to do the same query returns all the rows that contain ...
I am trying to write a filter function for my application that will take an input string and filter out all objects that don't match the given input in some way. The easiest way to do this would be to use String's contains method, i.e. just check if the object (the String variable in the object) contains the string specified in the filt...
Hi there, am using jquery tablesorter plugin and in my "country" column i got special characters like this: Índia.
The fact is that when i hit the header of the column to sort it, it puts my "Índia" at the end of the column. I guess the nav sees the instead of the real "I" with an accent.
Any clue on how to make it work even with acc...
I'm trying to make a dynamic regex that matches a person's name. It works without problems on most names, until I ran into accented characters at the end of the name.
Example: Some Fancy Namé
The regex I've used so far is:
/\b(Fancy Namé|Namé)\b/i
Used like this:
"Goal: Some Fancy Namé. Awesome.".replace(/\b(Fancy Namé|Namé)\b/i, '...
There is a page on our server that's reachable via two different URLs.
http://www.spotlight.com/6213-5613-0721
http://www.spotlight.com/interactive/cv/1/M103546.html
There's classic ASP behind the scenes, and both of those URLs actually do a Server.Transfer to the same underlying ASP page.
The accents in the name at the top of the pa...
I'd like to configure CKEditor to save accented letters as they are, and don't change them to their HTML equivalent, since I'm working work with UTF8 anyway.
Where and what do I need to set to achieve this?
Example:
Current: entered: áéíóúöőüű source: <p>áéíóúöőüű</p>
Wished for: entered:...
I have an XML file that contains a message with html tags in it. The XML file is read by a java class that mails it to people. When the mail is received, the accents do not show. For example é doesn't show.
I have tried é in the xml but it gives an error in eclipse saying that the entity has not been declared.
I also tried sim...
Hello,
With the help of tucuxi from the existing post Java remove HTML from String without regular expressions I have built a method that will parse out any basic HTML tags from a string. Sometimes, however, the original string contains html hexadecimal characters like (which is an accented e). I have started to add functionality which...
I've written this little test class to connect up to an FTP server.
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
public class FTPTest {
public static void main(String[] args) {
URL url =...
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) charact...