In SQL one can write a query that searches for a name of a person like this:
SELECT * FROM Person P WHERE P.Name LIKE N'%ike%'
This query would run with unicode characters (assuming that the Name column and database were setup to handle unicode support).
I have a similar query in HQL that is run by Hibernate (NHibernate). The genera...
I have one JSP page which has one text field. am entering some kannada characters and am able to encode it in utf-8 format and am passing this value to another JSP. In alert box am getting correct characters. But when i store into MS-acces by using JDBC-ODBC driver, the values are stored in question mark and while fectching also it displ...
I am trying to read and process Japanese emails. I have set my regional and Language options to east asian and languages for non-unicode in the xp control pannel. I have to process pst files and preserve the true metadata and I am having trouble with the subject line and sometimes the to: and cc: fields. I get my message body to show Jap...
I have a Swing Application running under Linux, that has problems to display accented characters.
Looking into the application, I tracked the problem to the Keyboard. I added a new EventQueueManager to intercept all events received.
I typed the "[dead acute] [a]" sequence on both systems.
In windows I get:
D 090116 100330.015000 AW...
For example, the unicode character "…" or the thing you get in HTML if you use the … entity. How will the various screen readers pronounce this?
...
Yo.
I need to scan a directory and its sub-folders, I used FindFirst and FindNext procedures, but the TSearchRec's Name property is a string, thus unicode folder names (hebrew, arabic etc) are '?????' in the Name property.
I tried using TntComponent, with WideFindFirst, WideFindNext and TSearchRecW.
But I still get ?????? for folder na...
Hi all,
I'm internationalizing an application into many different languages, and the following languages must be supported:
English
Spanish
German
French
Russian
Mandarin Chinese
Thai
We're also probably going to add support for:
Hindi
Portuguese
Any other language people at work speak and can translate easily
Should I install d...
I'm trying to setup a sqlserver 2005 that will be accessed using C++ and ODBC (the data read will be sent in XML files). So, I want to read data from the database (preferably utf-8), compose a XML file and send it.
I have been browsing around and i haven't found a way to setup the database and the tables for using utf-8 (as in MySQL). I...
I am not that familiar with Javascript, and am looking for the function that returns the UNICODE value of a character, and given the UNICODE value, returns the string equivalent. I'm sure there is something simple, but I don't see it.
Example:
ASC("A") = 65
CHR(65) = "A"
ASC("ਔ") = 2580
CHR(2580) = "ਔ"
...
We have an application written in C#, using .NET Framework 3.0 or 3.5 or something like that. As storage we use SQL Server, and we use Linq 2 SQL to talk with it.
Currently most (if not all) text columns in the database, are set to the varchar type (of different lengths of course).
But I started thinking... according to MSDN "The stri...
I've got a FileUpload control in an ASP.NET web page which is used to upload a file, the contents of which (in a stream) are processed in the C# code behind and output on the page later, using HtmlEncode.
But, some of this output is becoming mangled, specifically the symbol '£' is output as the Unicode FFFD REPLACEMENT CHARACTER. I've ...
Suppose I have:
<a href="http://www.yahoo.com/" target="_yahoo"
title="Yahoo!™" onclick="return gateway(this);">Yahoo!</a>
<script type="text/javascript">
function gateway(lnk) {
window.open(SERVLET +
'?external_link=' + encodeURIComponent(lnk.href) +
'&external_target=' + encodeURIComponent(lnk.target) +
...
I have a text file that is encoded in UTF-8. I'm reading it in to analyze and plot some data. I would like the file to be read in as ascii. Would it be best to use the codecs module or use the builtin string decode method? Also, the file is divided up as a csv, so could the csv module also be a valid solution?
Thanks for your help.
...
I declare this:
#This file is using encoding:utf-8
...
class Buddy(models.Model):
name=models.CharField('ФИО',max_length=200)
...
... in models.py. manage.py syncdb works smoothly. However when I go to admin interface and try to add a new Buddy I catch a DjangoUnicodeDecodeError, which says: "'utf8' codec can't decode bytes in...
I have to import some UTF-8 encoded text-file into my C++Builder 5 program.
Are there any components or code samples to accomplish that?
...
I work in Python and would like to read user input (from command line) in Unicode format, ie a Unicode equivalent of raw_input ?
Also, I would like to test Unicode strings for equality and it looks like a standard == does not work ?
Thank you for your help !
...
Hi,
I have problem with unicode.. i have multi language project. when i enter the data in local language, in access the data is storing something like this as " ಅಮà³à²®" but i want those characters of local language to be seen at the bach end..
could you please suggest me ??
am using java, windows vista, and ms-access..
I had set ...
I'm having problems using {% ifequal s1 "some text" %} to compare strings with extended characters in Django templates. When string s1 contains ascii characters >127, I get exceptions in the template rendering. What am I doing wrong? I'm using UTF-8 coding throughout the rest of application in both the data, templates and Python code wit...
I'm having some brain failure in understanding reading and writing text to a file (Python 2.4).
# the string, which has an a-acute in it.
ss = u'Capit\xe1n'
ss8 = ss.encode('utf8')
repr(ss), repr(ss8)
("u'Capit\xe1n'", "'Capit\xc3\xa1n'")
print ss, ss8
print >> open('f1','w'), ss8
>>> file('f1').read()
'Capit\xc3\xa1n\n'
...
what are the corresponding unicode values of lower case and upper case letters from a
to z
...