encoding

How transport data between different database encoding?

We have such a oracle database which contains "Tranditional Chinese" character and english, and the environment is : PARAMETER VALUE NLS_LANGUAGE AMERICAN NLS_TERRITORY AMERICA NLS_CURRENCY $ NLS_ISO_CURRENCY AMERICA NLS_NUMERIC_CHARACTERS ., NLS_CHARACTERSET WE8PC850 NLS_CALENDAR GREGORIAN NLS_DATE_FORMAT DD-MON-RR ...

Problems with special characters in php soap client

Hi! I have a problem related to this question. I have a web service (also using php) that returns some names. When any of them contains Swedish characters (å, ä or ö) and probably others as well i get a soapfault (looks like we got no XML document). I can however see the full (correct afaik) response using $soapcalo->__getLastResponse()....

Having \"{a} in Doxygen, LaTeX

How can you make this \"{a} to present a with dots in Doxygen? My files are full of the character \"{a}. It should be universal encoding for a with dots. However, it is clearly not the case. My encoding is UTF-8 at the moment. The symbol works with the encoding in Vim. ...

A More precise PNG library for .NET 2.0?

Yes, I am using C# 2.0 and need to do things with PNG files, for example use a custom palette, that I cannot find out how to do with System.Drawing. Is there a 3rd-party library (preferably GPL-compatible) that will enable more fine-tuned control over PNG encoding? Update: Examples of what I want to do: Create, edit, and remove an im...

java.util.Properties and Cp1250

Can I use java.util.Properties with encoding different then default? ...

UltraEdit: Is there a way to get the Encoding of a Text File

Hi Is there a setting in Ultraedit that allows me to see the Encoding of the File? Thanks for your help. ...

Swedish characters and utf-8

I use utf-8 encoding on all my pages but some swedish characters ( and ) gets messed up (just a square box with some letters in). My database is set to utf8_general_ci, but im not even connected so that doesnt really matter. Or should I use another charset? Its not a swedish site, its all in english but i want and to work anyways. <...

How is transformation of code point to final character implemented in Unicode?

Characters included in BMP as specified by 4 digits, and those characters outside of BMP contains 5 or 6 digits. But my doubt is: how is the finanal character drawed from value of code point? Are the pictures of each character restored in each computer and when displaying just show the matching picture? Or the final glyph is a comput...

Default encoding of exception messages

The following code examines the behaviour of the float() method when fed a non-ascii symbol: import sys try: float(u'\xbd') except ValueError as e: print sys.getdefaultencoding() # in my system, this is 'ascii' print e[0].decode('latin-1') # u'invalid literal for float(): ' followed by the 1/2 (one half) character print unicode...

How to make internal processing encoding change to UTF8 in PHP?

Currently in my application the utf8 encoded data is spoiled by internal coding of PHP. How to make it consistent with utf8? EDIT:To show examples,please tell me how to output the current internal encoding in PHP? In php.ini I found the following: default_charset = "iso-8859-1" Which means Latin1. How to change it to utf8,say,what...

string issue of utf-8 encoding with PHP and MySQL?

This is what I tried so far,by modifying php.ini: default_charset = "utf-8" This is how MySQL is configured: mysql> show variables like '%char%'; +--------------------------+-----------------------------------------------+ | Variable_name | Value | +--------------------------+-----...

Handling special characters in C (UTF-8 encoding)

Hi! I'm writing a small application in C that reads a simple text file and then outputs the lines one by one. The problem is that the text file contains special characters like Æ, Ø and Å among others. When I run the program in terminal the output for those characters are represented with a "?". Is there an easy fix? ...

Oracle regex - encoding problem

In an Oracle 10 database, I did a small test: SELECT REGEXP_REPLACE('İF', '[Iİ]F', 'DONE', 1, 0, 'i') FROM dual; This doe not seem to match the regex. However, when I remove the last parameter (case insensitive regex parameter), regex matches SELECT REGEXP_REPLACE('İF', '[Iİ]F', 'DONE', 1, 0) FROM dual; Below queries also returns "DO...

What is this encodification that FF and Chrome does?

I was looking a source code of a particular page of my project and noticed that FF transforms special characters such as "á" to &#225;. Which encodification is that? Thanks!! ...

How to use C# encode and decode 'Chinese' characters

In my ASP.NET MVC application i am using Chinese Category Name, it was displayed as %E8%82%B2%E5%84%BF in IE's URL address, but the actual value is '育儿'. I want to know how can I convert '育儿' into %E8%82%B2%E5%84%BF in C# and how can I convert it back, too. Is it possible display '育儿' in the URL link directly? Will it be good for SEO? ...

 character (UTF-8 BOM) in middle of ASP.NET response due to HttpResponse.TransmitFile()

I've seen this post:  characters appended to the begining of each file. In that case, the author was manually reading the source file and writing the contents. In my case, I'm abstracting it away via HttpRequest.TransmitFile(): public void ProcessRequest(HttpContext context) { HttpRequest req = context.Request; HttpResponse ...

need an idea for conversion of encoding mechanism in python

can somebody suggest me how can i convert the radix64 encoded public key to a MIME encoded key. i am having the public key in radix64 encoding format now i need to convert it in MIME .is there any python API to do this .... thanks ...

How to specify output file encoding in Ruby?

Hi. How can I set the encoding of a file when using a File#open? ...

Two Base64 encodings yield same decoding

Is it expected behavior that two encodings can map to the same decoding? I'm trying to troubleshoot a digital signature issue by doing sanity checks on base64-encoded intermediate strings. For example, the following base64 encoding: R0VUDQoNCg0KRnJpLCAwNCBTZXAgMjAwOSAxMTowNTo0OSBHTVQrMDA6MDANCi8= and: R0VUCgoKRnJpLCAwNCBTZXAgMjAwOSA...

Insert UTF8 data into a MS SQL-Server 2008

Hi folks, I have an issue with Encoding. I want to put data from a UTF-8-Encoded file into a MSSQL 2008 database. MSSQL only features UCS2 encoding, so I decided to explicitely convert the retrieved data. // connect to page file _fsPage = new FileStream(mySettings.filePage, FileMode.Open, FileAccess.Read); _streamPage = new StreamReade...