Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums
Members
Pages
Search
Help
Register
Login
Home
Home
»
U++ Library support
»
U++ SQL
»
how to read a dbf
Show:
Today's Messages
::
Show Polls
::
Message Navigator
E-mail to friend
Re: how to read a dbf
[
message #9244
is a reply to
message #8198
]
Mon, 23 April 2007 21:15
Sbleck
Messages:
16
Registered:
April 2007
Location:
Brazil
Promising Member
Hi,
Quote:
A bug in DbfStream related to encoding - unable to cope with UTF8.
Non-perfect quick fix (line 228):
void DbfStream::SetCharset(byte cs)
{
charset = cs;
byte dest = GetDefaultCharset();
if(dest == CHARSET_UTF8)
dest = CHARSET_WIN1252;
codepage_cv = false;
for(int i = 0; i < 256; i++) {
codepage_uni[i] = ToUnicode(i, charset);
codepage_map[i] = FromUnicode(codepage_uni[i], dest);
codepage_rev[i] = FromUnicode(ToUnicode(i, dest), charset);
if(codepage_map[i] != i)
codepage_cv = true;
}
}
Mirek
How could I use this advice, to check if I'm having the same problem ?
Sven
Report message to a moderator
[
Message index
]
how to read a dbf
By:
forlano
on Sun, 18 February 2007 00:32
Re: how to read a dbf
By:
mirek
on Sun, 18 February 2007 11:05
Re: how to read a dbf
By:
forlano
on Sun, 18 February 2007 13:09
Re: how to read a dbf
By:
mirek
on Sun, 18 February 2007 19:21
Re: how to read a dbf
By:
forlano
on Sun, 18 February 2007 19:50
Re: how to read a dbf
By:
mirek
on Tue, 20 February 2007 08:38
Re: how to read a dbf
By:
Sbleck
on Mon, 23 April 2007 21:15
Re: how to read a dbf
By:
mirek
on Tue, 24 April 2007 14:00
Previous Topic:
Cannot use *.mdb files
Next Topic:
small patch for PostgreSQL
Goto Forum:
- Community
U++ community news and announcements
PR, media coverage, articles and documentation
U++ Webs: Functioning, Layout , Design, Features and Structure of these forums, homepage etc.
Coffee corner
Newbie corner
U++ based job offers
- Developing U++
U++ Developers corner
External resources
Releasing U++
UppHub
Bugs (& fixes)
Documentation
U++ TheIDE and Library: Releases and ChangeLogs
Mac OS
Android
- U++ Library support
U++ Library : Other (not classified elsewhere)
U++ Core
Look and Chameleon Technology
U++ Libraries and TheIDE: i18n, Unicode and Internationalization
U++ SQL
U++ MT-multithreading and servers
U++ Callbacks and Timers
U++ Widgets - General questions or Mixed problems
TopWindow&PopUp, TrayIcon
Menus&Toolbars
StatusBar&InfoCtrl
Splitter
TabCtrl
Slider&ProgressIndicator
ArrayCtrl, HeaderCtrl & GridCtrl
TreeCtrl
RichText,QTF,RTF...
LineEdit, EditFields, DocEdit
Draw, Display, Images, Bitmaps, Icons
FileSel&FileList, Path
CalendarCtrl
Skylark
ScatterDraw & ScatterCtrl
Archive
- U++ TheIDE
U++ TheIDE: Other Features Wishlist and/or Bugs
U++ TheIDE: Compiling, Linking, Debugging of your packages
U++ TheIDE: Installation, Compiling and Running of theide
U++ TheIDE: CodeEditor, Assist++, Topic++
U++ TheIDE: Packages
U++ TheIDE: Layout (Forms) Designer
U++ TheIDE: Icon designer
- Extra libraries, Code snippets, applications etc.
U++ users applications in progress and useful code snippets, including reference examples!
U++ Esc Interpreter, Esc Macros and templates
U++ and AI
C++ language problems and code snippets
Applications created with U++
OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc
-=]
Back to Top
[=-
[
Syndicate this forum (XML)
] [
] [
]
Current Time:
Sun Aug 24 16:44:28 CEST 2025
Total time taken to generate the page: 0.04529 seconds