Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » Oracle8: UTF8 charset Patch
Re: Oracle8: UTF8 charset Patch [message #26804 is a reply to message #26795] Fri, 28 May 2010 22:19 Go to previous messageGo to previous message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

luzr wrote on Fri, 28 May 2010 15:54

I am sorry, but can you just add plain files (whole files, no patches) please?



Mirek, Can you change with places OCI_NLS_NCHARSET_ID_AL32UT8 and OCI_NLS_NCHARSET_ID_UT8 like this:
	if(oci8.OCIEnvNlsCreate) {
		if((v_without_NLS)&&(oci8.OCIEnvNlsCreate(&envhp, accessmode, 0, 0, 0, 0, 0, 0, OCI_NLS_NCHARSET_ID_AL32UT8, OCI_NLS_NCHARSET_ID_AL32UT8))){
			LLOG("OCI8: error on initialization utf8 NLS");
			v_without_NLS = true;
		}else v_without_NLS = false;
		if((v_without_NLS)&&(oci8.OCIEnvNlsCreate(&envhp, accessmode, 0, 0, 0, 0, 0, 0, OCI_NLS_NCHARSET_ID_UT8, OCI_NLS_NCHARSET_ID_UT8))){
			LLOG("OCI8: error on initialization utf8 NLS");
			v_without_NLS = true;
		}else v_without_NLS = false;
	}


The problem is: charset AL32UT8 is created in 9.1 database release, but UTF8 is created in 8.0. UTF8 it is not a real Unicode charset.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SQLite-insert/update in threads (please help!)
Next Topic: How to make complex indexes?
Goto Forum:
  


Current Time: Thu May 16 07:10:58 CEST 2024

Total time taken to generate the page: 0.01845 seconds