Hi, I'm developing a stand alone program using VB accessing Ms Access database. I use NJStar to key in Chinese characters into the system. But I found that certain characters are not able to write into the db as it hits "Syntax error in string query expression - "Qs|" when I use sql statement - insert...
Qs| is the chinese chars. I have done a few testing and found out that the "|" is not invalid in sql statement and also a few chars like "(", ")". I tried all the chinese char font type but it seems like it doesn't work at all. For your info, I am in Window XP platform.
Anyone who have any knowledge or experience in it, mind to share. Your help is very much appreciated. TQ
*************** *************** *************** *************** **********
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources... 1 2767
Hi,
Sorry, no help as such. But I did a similar thing on the Mac using RealBasic
(not an Access db thought) and had no hassles. RealBasic handled the
chinese, both traditional and simplifed as strings. Maybe you need a unicode
string or something.
Paul
"ping" <m.****@mailcit y.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. Hi, I'm developing a stand alone program using VB accessing Ms Access
database. I use NJStar to key in Chinese characters into the system. But I
found that certain characters are not able to write into the db as it hits
"Syntax error in string query expression - "Qs|" when I use sql
statement - insert... Qs| is the chinese chars. I have done a few testing and found out that
the "|" is not invalid in sql statement and also a few chars like "(", ")".
I tried all the chinese char font type but it seems like it doesn't work at
all. For your info, I am in Window XP platform. Anyone who have any knowledge or experience in it, mind to share. Your
help is very much appreciated. TQ *************** *************** *************** *************** ********** Sent via Fuzzy Software @ http://www.fuzzysoftware.com/ Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Derrick |
last post by:
Is it possible? I installed all the language scripts on my XP box, can see
russian chars in unicode xml file, but not chinese chars. See the same
thing in tree view as when i look at xml file in notepad.
Thanks in advance!!
Derrick
|
by: hao |
last post by:
Hi, all
When I use ASP to insert an record to a database, I got
some errors and can not insert any value with Chinese Char.
The only way I can do that is use "rst1.Addnew...rst1.update".
Anyone know why?
thx
|
by: Steven Nagy |
last post by:
Hi all, I have to do a website in chinese!
Basically I just need to know how to output chinese characters. I am
assuming its very easy, but have never done it before. I can however do
simple things like changing the formats of currency and calendars and
so on.
I am guessing the answer is quite simple given; I assume Unicode would
support all the chinese characters right? Ideally I'd like them to be
able to enter their own content...
|
by: Jeff |
last post by:
A client showed me this one.
In a totals query that counts items and links to a parent record, what
should be the output from a memo field shows up as Chinese characters - I
kid not.
He has a parent record that contains some base info, date etc and a Memo
field for notes. In a related table are details of items. He wanted to count
the items for a particular header record so linked the two tables on the id
and in the query grouped on...
|
by: tomtiv |
last post by:
Hi All,
I am having a probem with asp, xml, com while using chinese chars. The
chinese letters come out of com fine and they are also fine when i use
asp to write to a text file.
When i load the chinese chars into an xml dom they become invalid
Chinese chars show as this ',,模板. but when i doa
xsl translation then some of the chinese chars are displayed and some
are shown as garbage chars.
| |
by: Andy Lim |
last post by:
Hi all,
In my recent project, my client uses Chinese Star software to type the
articles in chinese (using MS Word), and I need to display these articles
within ASP.NET pages. And, for this very purpose I also installed a copy of
Chinese Star software in my development machine, so I can correctly renders
the doc correctly.
Ussually I just copy the text from the original DOC file they supplied, and
paste it onto a blank ASP.NET page.
|
by: Andy Lim |
last post by:
Hi all,
In my recent project, my client uses Chinese Star software to type the
articles in chinese (using MS Word), and I need to display these articles
within ASP.NET pages. And, for this very purpose I also installed a copy of
Chinese Star software in my development machine, so I can correctly renders
the doc correctly.
Ussually I just copy the text from the original DOC file they supplied, and
paste it onto a blank ASP.NET page.
|
by: Peter |
last post by:
Hi,everybody,
If I create a text file like "Sub WriteTextFile" I can read the file
"file1.txt" using "Sub ReadTextFile" correctly, Whereas If I create the same
text file using NotePad.exe I can only read out these 2 strings: " is a
Chinese person's name" and "English". Need I make some conversion?
Private Sub WriteTextFile
Dim file1 As New StreamWriter("file1.txt")
|
by: Taras_96 |
last post by:
Hi everyone,
Firstly, I would like to know if you can open chinese filenames under
win2000 using PHP 5.0? I have a file named 中国.php, and try to open it
using
fopen(‘中国.php','r');. I save the source file as UTF-8. I get the
error:
Warning: fopen(中国.php) : failed to open stream: No
such file or directory in E:\Translation\Website
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |