Watch, Follow, &
Connect with Us



ID: 27563, Hotfix 3 for Delphi 2009 and C++Builder 2009

by Tim DelChiaro Email: Anonymous


This hotfix addresses an IntraWeb issue where characters show up as question marks
Available only to registered users of RAD Studio 2009, Delphi 2009 and C++Builder 2009
Download Details
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
Network License Users

If you are a network license user, click  here  to download this submission.

To download this, you must have registered [one of]:
Delphi and C++Builder 2009 Enterprise
All-Access Gold
C++Builder 2009 Enterprise
C++Builder 2009 Enterprise 10-license pack
C++Builder 2009 Enterprise 5-license pack
C++Builder 2009 Professional
C++Builder 2009 Professional 10-license pack
C++Builder 2009 Professional 5-license pack
Delphi 2009 Enterprise
Delphi 2009 Enterprise - 10 License pack
Delphi 2009 Enterprise - 5 License pack
Delphi 2009 Professional
Delphi 2009 Professional - 10 License Pack
Delphi 2009 Professional - 5 License Pack
C++Builder 2009 Architect
C++Builder 2009 Architect 10 pack
C++Builder 2009 Architect 5 pack
Delphi and C++Builder 2009 Architect Academic
Delphi and C++Builder 2009 Professional
Delphi and C++Builder 2009 Architect
Delphi and C++Builder 2009 Professional Academic
Delphi and C++Builder 2009 Architect 10 pack
Delphi and C++Builder 2009 Architect 5 pack
Delphi 2009 Architect
Delphi 2009 Architect 10 pack
Delphi 2009 Architect 5 pack
C++Builder 2009 Architect Academic
C++Builder 2009 Enterprise Academic
C++Builder 2009 Professional Academic
Delphi and C++Builder 2009 Enterprise 10 pack
Delphi and C++Builder 2009 Enterprise 5 pack
Delphi and C++Builder 2009 Professional 10 pack
Delphi and C++Builder 2009 Professional 5 pack
Delphi 2009 Architect Academic
Delphi 2009 Enterprise Academic
Delphi 2009 Professional Academic
Delphi and C++Builder 2009 Architect DevRel edition
CodeGear RAD Studio 2009 Architect
CodeGear RAD Studio 2009 Architect 10 pack
CodeGear RAD Studio 2009 Architect 5 pack
CodeGear RAD Studio 2009 Architect Academic
CodeGear RAD Studio 2009 Enterprise
CodeGear RAD Studio 2009 Enterprise 10 pack
CodeGear RAD Studio 2009 Enterprise 5 pack
CodeGear RAD Studio 2009 Enterprise Academic
CodeGear RAD Studio 2009 Professional
CodeGear RAD Studio 2009 Professional 10 pack
CodeGear RAD Studio 2009 Professional 5 pack
CodeGear RAD Studio 2009 Professional Academic
CodeGear RAD Studio 2009 Architect Special upgrade from Delphi or C++ 2009 Archi
CodeGear RAD Studio 2009 Architect Special upgrade from Delphi/C++ 2009 Architec
CodeGear RAD Studio 2009 Enterprise Special upgrade from Delphi or C++2009 Enter
CodeGear RAD Studio 2009 Enterprise Special upgrade from Delphi/ C++2009 Enterpr
CodeGear RAD Studio 2009 Professional Special upgrade from Delphi or C++2009 Pro
CodeGear RAD Studio 2009 Professional Special upgrade from Delphi/C++2009 Profes
CodeGear RAD Studio 2009 Architect DevRel edition
All-Access XE Bronze
All-Access XE Gold
All-Access XE Platinum
All-Access XE Silver
All-Access Platinum
All-Access Silver

For RAD Studio, Version 12.0  to 12.0
Copyright: All rights reserved


Terms of use: Export restrictions


Size: 2,947 bytes
Updated on Mon, 18 Jan 2010 12:48:17 GMT
Originally uploaded on Mon, 18 Jan 2010 12:48:17 GMT
Description
RAD Studio 2009 Hotfix 3

This software patch is being provided to licensed users of RAD Studio 2009. Installation and use are governed by the license statement for RAD Studio 2009.

This Hotfix applies to:

Products: RAD Studio, Delphi
Version: 2009
Update level: All
Editions: Professional, Enterprise, Architect
Languages: English, German, French, Japanese


Description of the update that is included in this hotfix:
----------------------------------------------------------

On a Traditonal Chinese Operating System, IntraWeb is outputting ????? on a web page.

TUTF8ContentParser is a WebRequest content parser that parses UTF-8 requests.

TUTF8ContentParser class automatically replace the default content parser when this unit (UTF8ContentParser) is used in a web application. You should only use UTF8ContentParser in web applications that generate UTF-8 responses.

To generate UTF-8 encoded responses, set Response.ContentType as follows before setting Response.Content.
Response.ContentType := 'text/html; charset=UTF-8';

Note that, if your application uses the ReqMulti unit to parse multipart content, ReqMulti must appear in the application uses list after UTF8ContentParser.

Internal Tracking Number(s): 269432

Instructions for Delphi:
------------------------
1. Download and install IntraWeb build 10.0.21 from http://www.atozed.com/intraweb/Download/Files/index.EN.aspx

2. Place UTF8ContentParser.pas in your project directory

3. Add UTF8ContentParser.pas to your project

4. Add UTF8ContentParser.pas to your Uses list in your application


Instructions for C++Builder
---------------------------
1. Download and install IntraWeb build 10.0.21 from http://www.atozed.com/intraweb/Download/Files/index.EN.aspx

2. Create IntraWeb application using C++Builder language

3-1. In project option, configure include path and library path to refer to Intraweb 10.0.21

3-2. In project option, turn off 'Use Runtime Packages'

4. In main source(Project1.cpp), modify #include as below
from
------
#ifdef VER210
#include
#endif
------
to
------
//#ifdef VER210
#include "UTF8ContentParser.hpp"
//#endif
------

5. Copy 'UTF8ContentParser.pas' of Hotfix1 to the project's folder and add it to the project

6. In addition, add 2 static library(webdsnap.lib, websnap.lib) files to the project to avoid linker error.
"C:\CodeGear\RAD Studio\6.0\lib\release\webdsnap.lib"
"C:\CodeGear\RAD Studio\6.0\lib\release\websnap.lib"

7. Build the project and run it. It works fine with multi-byte characters.

Copyright 2010, Embarcadero Technologies. All rights reserved.

Server Response from: ETNACDC02