Re: utf8 encoding problem
- From: hjp@xxxxxxxxx (Peter J. Holzer)
- Date: Fri, 22 Dec 2006 09:57:06 +0100
On 2006-12-21 16:17:53 +1000, Anand.K.S. wrote:
Hello,
I had posted this question in CPAN forum but i was directed here for a
better answer.
Here is the problem I am facing. In the following piece of code I get a
customer name from the database and append a pound symbol to the customer
name and update the same in the database. The NLS_LANG parameter is set to
AMERICAN_AMERICA.WE8DEC (western European character set)
$node_name = 'wre'; my $pound = " \xc2\xa3"; print "Pound =>$pound\n";
That doesn't look like a pound sign in WE8DEC. You need to set NLS_LANG
to the charset that you actually use, i.e., AMERICAN_AMERICA.UTF8 in
your case.
hp
PS: Why are you using WE8DEC at all, and not ISO-8859-1?
--
_ | Peter J. Holzer | If I wanted to be "academically correct",
|_|_) | Sysadmin WSR | I'd be programming in Java.
| | | hjp@xxxxxxxxx | I don't, and I'm not.
__/ |
http://www.hjp.at/ | -- Jesse Erlbaum on dbi-users
Attachment:
pgppRKKcKvViP.pgp
Description: PGP signature
Relevant Pages
- Re: Spreadsheet/VBA Project Consulting: 50% Discount or Even Free - Limited Time Only
... > UDQ Services has years of experience with MS Excel and VBA (Visual Basic ... > templates, spreadsheet applications, and database applications. ... > P001: Mortgage Transaction Spreadsheet Database ... Customer List Converted from Excel Table to Word ... (microsoft.public.excel.worksheet.functions) - Spreadsheet/VBA Project Consulting: 50% Discount or Even Free - Limited Time Only
... UDQ Consulting Services Believes that Every Problem Should Have an Easy & ... templates, spreadsheet applications, and database applications. ... P001: Mortgage Transaction Spreadsheet Database ... Customer List Converted from Excel Table to Word ... (microsoft.public.excel.programming) - Spreadsheet/VBA Consulting - 50% Off or Even Free
... UDQ Consulting Services Believes that Every Problem Should Have an Easy & ... templates, spreadsheet applications, and database applications. ... P001: Mortgage Transaction Spreadsheet Database ... Customer List Converted from Excel Table to Word ... (microsoft.public.excel.misc) - Spreadsheet/VBA Consulting - 50% Off or Even Free
... UDQ Consulting Services Believes that Every Problem Should Have an Easy & ... templates, spreadsheet applications, and database applications. ... P001: Mortgage Transaction Spreadsheet Database ... Customer List Converted from Excel Table to Word ... (microsoft.public.excel.newusers) - Re: Spreadsheet/VBA Project Consulting: 50% Discount or Even Free - Limited Time Only
... >> UDQ Consulting Services Believes that Every Problem Should Have an Easy & ... >> templates, spreadsheet applications, and database applications. ... >> P001: Mortgage Transaction Spreadsheet Database ... Customer List Converted from Excel Table to Word ... (microsoft.public.excel.worksheet.functions) |
|