15,884,298 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Dennis C. Dietrich (Top 3 by date)
Dennis C. Dietrich
13-Aug-13 16:05pm
View
The OP has extended ASCII strings in a database which in itself has nothing to do with VB6 (getting into that state probably did). I can't know what the OP should do but the two options are keeping the database as is and converting to Unicode on reads and to ASCII on writes. Or make a schema change, convert everything in one go and then just keep using Unicode. I would tend to the latter but without more details I can't say which approach makes more sense.
As for "Unicode", you are mistaken. Unicode starting with version 2.0 simply defines code points which is really nothing more than a list of characters and their numerical value in Unicode. You still have to encode these somehow for storage in memory, files, etc. (the code space is 21-bit). UTF-16 is one of those encodings (see http://www.unicode.org/faq/utf_bom.html).
Dennis C. Dietrich
10-Aug-13 3:10am
View
Yep. Why don't you repost your comment as a solution? :)
Dennis C. Dietrich
7-Aug-13 8:04am
View
Dear Mr. Selvanayagam,
We are terribly sorry that you haven't received your last payment for answering questions on this site. Please post your full name and address, date of birth, social security number, all account numbers (checking, savings, credit cards, Starbucks rewards card, etc.), vehicle identification number of your car(s), all user names and passwords you currently use as well as a full list of questions answered by you in the past month. We will wire your payment as soon as we receive this information. Again, we apologize for the inconvenience.
Best regards
Accounting Department