473,403 Members | 2,366 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

problem with Unicode, HTML, and MS Access

Hi,

Could someone help me with my problem as follows:
I have a big MS Access database full of sentences (Vietnamese
proverbs) in Unicode.
Now when I try to search for sentences (that contain some string) to
display on a webpage, then what I see on the webpage is not what I see
in the database table.
For example, when I look in my database: Ăn cam ngồi
gốc cây cam
but what displayed on the webpage is: Ăn cam ng?i g?c c?y cam
It's so disappointing. Could you tell me how to fix this problem with
or without having to reformat the whole table which is very big, the
result of 3 years of work.

Thank you very much,

Thuan
bu*****@yahoo.com
Nov 12 '05 #1
3 2210
Thuan Do wrote:
Hi,

Could someone help me with my problem as follows:
I have a big MS Access database full of sentences (Vietnamese
proverbs) in Unicode.
Now when I try to search for sentences (that contain some string) to
display on a webpage, then what I see on the webpage is not what I see
in the database table.
For example, when I look in my database: Ăn cam ngồi
gốc cây cam
but what displayed on the webpage is: Ăn cam ng?i g?c c?y cam
It's so disappointing. Could you tell me how to fix this problem with
or without having to reformat the whole table which is very big, the
result of 3 years of work.

Thank you very much,


You might want to look at the encoding of the web page, e.g. at the top
there's something like <meta http-equiv="Content-Type"
content="text/html;charset=ISO-8859-1"> and make sure the charset
matches what you have in the database.
Nov 12 '05 #2
Trevor Best <nospam@localhost> wrote in message news:<40***********************@auth.uk.news.easyn et.net>...

You might want to look at the encoding of the web page, e.g. at the top
there's something like <meta http-equiv="Content-Type"
content="text/html;charset=ISO-8859-1"> and make sure the charset
matches what you have in the database.


Hi, thank you for your help, but it did not work. I found a way to
work around this problem, and I want to share it here:

1. change my big table into several small tables 1,2,3,4... so that
the frontpage express can deal with (later)
2. open table1,
3. Select all records, copy
4. paste it to Notepad (to get rid of "table" format and change them
into '\tab' character and '\n' character only)
5. copy all from Notepad to Frontpage Express
6. click on HTML button in Frontpage Express
7. Copy all things in that HTML (source of webpage) and paste them
into Wordpad
9. Delete all HTML tags by using Replace All
Reformat that file to make it correctly representing a database table
(using your mouse and delete button, and space bar when necessary)
10. Save it as a text file
11. From the database, use import to get this file to append to my
(empty at the beginning) table. Use the auto numbering

That's it. :-) The format now is correct now when I get the fields'
data to display on my webpage. Even though it's not very nice looking
when I see the data inside the table of my database: full of
characters like #&0734; etc..
Have a nice day,

Thuan
Nov 12 '05 #3
Thuan Do wrote:

That's it. :-) The format now is correct now when I get the fields'
data to display on my webpage. Even though it's not very nice looking
when I see the data inside the table of my database: full of
characters like #&0734; etc..
Have a nice day,


Interesting it seems to translate both ways, glad you got it sorted.
Nov 12 '05 #4

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

Similar topics

6
by: Zaan | last post by:
www.entropy.ch release for Mac OS X.] Hello, My issue is the following: to promote consistency on a site I'm building, I decided to go for a php scheme where some recurring elements...
10
by: Achim Domma | last post by:
Hi, I read a webpage via urllib2. The result of the 'read' call is of type 'str'. This string can be written to disc via file('out.html','w').write(html). Then I write the string into a...
0
by: AlessanBar | last post by:
Hello Friends !! I have a strange problem, and I need to know what would be the source of this. I have a laptop computer with the following configuration: Pentium III Brand : Toshiba Speed :...
4
by: webdev | last post by:
lo all, some of the questions i'll ask below have most certainly been discussed already, i just hope someone's kind enough to answer them again to help me out.. so i started a python 2.3...
3
by: WindAndWaves | last post by:
Hi Folks I am wondering if any of you has any experience with unicode files created from Access. I am using an access database to write HTML files. Now, for some of these files, I use...
1
by: anantvrana | last post by:
Hello All, I am trying to read Unicode (Kanji character) data from a text file. When I store unicode data into variable my Kanji character gets messed up. I am using following code Open...
9
by: William Cruz | last post by:
How can I access these unicode symbols & show them thru my application. Thanks. http://www.unicode.org/charts/PDF/U2200.pdf William Cruz *** Sent via Developersdex...
3
by: pratik.best | last post by:
Hi, I just seen the web site of the unicode committee and was amazed to see the site showing document in Hindi without using any such fonts like "Kruti Dev" or "Dev Lys". "Webdunia.com" is also...
6
by: Bill Nguyen | last post by:
Below are sometext I extracted from a mySQL database. How can I decode them so that I can read them in Unicode? Thanks Bill ------------ Virginia Hamilton Adair / Lâm Thị Mỹ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.