472,791 Members | 1,546 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,791 software developers and data experts.

Unicode characters (Japanese)

DL
Hi,

Our school has an application in which :
- Teachers enter comments through a web interface built in asp (not
asp.net).
- Comments are stored in a SQL server 2000 (in a nText field)
- Comments are printed through a MS-Access 2002 front-end...

Most comments are in English, Spanish or French. Some comments are
English + Japanese.

- The Japanese teachers can enter their comments through the web
interface without any glitch.
- The comments are obviously stored properly in the nText field, as
they can be displayed through the web interface.

Here is where problems start to occur...

- When browsing through the table using the Enterprise Manager, the
comment appears blank if it contains some Japanese.
- When browsing through the table in Access (the table being linked),
we can see the series of unicodes :
漢字テス... while, in the next paragraph, the
English text is perfectly readable...
- Similarly, on the printed report, the Japanese text appears as a
series of Unicodes, while the English text appears perfactly readable.

If I copy the Japanese text from the web interface and paste it into
the linked table in Access, it displays perfectly and prints perfectly
in Access. But of course, I can't do that manually for all students...
However, if I now look at the same record through the Enterprise
Manager, I see the text (at last !) but only as a series of unreadable
characters. I can imagine that that last problem is due to a lack of
Japanese font in the Enterprise Manager, bacause if I copy these
uneradable characters and paste them in the original web form, they
display perfectly...

I would really appreciate if someone could help me sort out that
problem.
Many thanks for all ideas.

DL

Feb 21 '07 #1
4 5804
DL (la*****@isb.be) writes:
- When browsing through the table using the Enterprise Manager, the
comment appears blank if it contains some Japanese.
What do you see in Query Analyzer?
- When browsing through the table in Access (the table being linked),
we can see the series of unicodes :
漢字テス... while, in the next paragraph, the
English text is perfectly readable...
Do you actually see the ampersand, hash mark, digits and semicolon?
In such case, I would assume that the page writes that do the database.
The browser will present those codes correctly, but obviously Access
will not.


--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Feb 21 '07 #2
DL
On Feb 21, 11:58 pm, Erland Sommarskog <esq...@sommarskog.sewrote:
DL (lalo...@isb.be) writes:
- When browsing through the table using the Enterprise Manager, the
comment appears blank if it contains some Japanese.

What do you see in Query Analyzer?
- When browsing through the table in Access (the table being linked),
we can see the series of unicodes :
漢字テス... while, in the next paragraph, the
English text is perfectly readable...

Do you actually see the ampersand, hash mark, digits and semicolon?
In such case, I would assume that the page writes that do the database.
The browser will present those codes correctly, but obviously Access
will not.

--
Erland Sommarskog, SQL Server MVP, esq...@sommarskog.se

Books Online for SQL Server 2005 athttp://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books...
Books Online for SQL Server 2000 athttp://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

Feb 22 '07 #3
DL
Hi Erland,

Yes. I see the ampersand, hash mark, digits and semicolon.
That's actually a good point. It would mean that the problem is with
the communication between the asp pages and the sql server : asp that
would let the user type Japanese characters in the text control, but
the typed text would be translated into the sequence of ampersand,
hash mark, digits and semicolon...

That would also explain what I discovered after having posted my
message : I went back to similar data that was entered in an Access
database last year and years before, using Access as a front-end. The
Japanese text always printed properly and was never a problem. I
transfered it to the sql server and looked at it through the new web
interface : it displayed as series of question marks (?????80%????...)

Do you by chance know how I could eliminate that problem linked to the
web interface or do you suggest I post the question on an asp list ?

Thanks for helping me clarify the source of my problem,

DL


On Feb 21, 11:58 pm, Erland Sommarskog <esq...@sommarskog.sewrote:
DL (lalo...@isb.be) writes:
- When browsing through the table using the Enterprise Manager, the
comment appears blank if it contains some Japanese.

What do you see in Query Analyzer?
- When browsing through the table in Access (the table being linked),
we can see the series of unicodes :
漢字テス... while, in the next paragraph, the
English text is perfectly readable...

Do you actually see the ampersand, hash mark, digits and semicolon?
In such case, I would assume that the page writes that do the database.
The browser will present those codes correctly, but obviously Access
will not.

--
Erland Sommarskog, SQL Server MVP, esq...@sommarskog.se

Books Online for SQL Server 2005 athttp://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books...
Books Online for SQL Server 2000 athttp://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

Feb 22 '07 #4
DL (la*****@isb.be) writes:
Do you by chance know how I could eliminate that problem linked to the
web interface or do you suggest I post the question on an asp list ?
My knowledge about ASP is about nothing. You should try a newsgroup for ASP.

--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Feb 22 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Auric__ | last post by:
I need to copy some Unicode text to the Clipboard, but it ain't happening. :/ If there's no equivalent in VB, what's the API call? -- auric "underscore" "underscore" "at" hotmail "dot" com...
1
by: Eric Brunel | last post by:
Hi all, I'm in the process of localizing a Tkinter application and I'm struggling with a problem for which I can't figure out a solution. The following code: -------------------------------...
1
by: Avnish | last post by:
Hi, I am looking for some form of validation for all the alphanumeric characters in the entire unicode range e.g. the validation should also accept japanese characters but should restrict...
48
by: Zenobia | last post by:
Recently I was editing a document in GoLive 6. I like GoLive because it has some nice features such as: * rewrite source code * check syntax * global search & replace (through several files at...
3
by: hunterb | last post by:
I have a file which has no BOM and contains mostly single byte chars. There are numerous double byte chars (Japanese) which appear throughout. I need to take the resulting Unicode and store it in a...
40
by: apprentice | last post by:
Hello, I'm writing an class library that I imagine people from different countries might be interested in using, so I'm considering what needs to be provided to support foreign languages,...
1
by: ujjwaltrivedi | last post by:
Hey guys, Can anyone tell me how to create a text file with Unicode Encoding. In am using FileStream Finalfile = new FileStream("finalfile.txt", FileMode.Append, FileAccess.Write); ...
1
by: shorti | last post by:
Hello, I am running DB2 UDB 8.2 on AIX 5.3. I am running some tests on converting several tables on an existing database to Unicode. The database will not be converted to unicode...just this...
8
by: mario | last post by:
I have checks in code, to ensure a decode/encode cycle returns the original string. Given no UnicodeErrors, are there any cases for the following not to be True? unicode(s, enc).encode(enc)...
2
by: David | last post by:
Hi list. I've never used unicode in a Python script before, but I need to now. I'm not sure where to start. I'm hoping that a kind soul can help me out here. My current (almost non-existant)...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.