character-encoding

Accessing a Function over Database Link with Different Charsets in Oracle

I have a function in DatabaseA which i want to access in DatabaseB, so i created a DB link in DatabaseB and started accessing the function as SELECT function_name@dblink ('A0484') FROM DUAL; Doing this resulted in the following Error ERROR at line 1: ORA-12703: this character set conversion is not supported ORA-06512: at line 1 On...

Which is the best character encoding for Japanese language for DB, php, and html display?

hi my friends , i just want to know about the language transation for the Japanese, 1) Which is the best encoding for the database mysql 2) Which/how can i print that in HTML page. ? thanks in advance. ...

Pound sign in html email messes up charset?

I have an HTML email that pulls non-english characters from the database. By setting the charset as UTF-8 the characters are properly displayed in the email. However, as part of my email body there's an anchor link (<a href='#here'>here</a>) which uses a pound sign. When I include this line of code, then the non-english characters later...

How can I specify a special character in PHP

I am trying to output a sigma character () in a label in a FusionChart graph. How can I specify that character in a PHP string? I have tried the htmlentity &sigma;, but it is not interpreted correctly by the graph. Is there any way to specify the character in PHP using some sort of character code? ...

How do I see what character set a database / table / column is in MySQL?

How do I see what the character set that a MySQL database, table and column are in? Is there something like SHOW CHARACTER SET FOR mydatabase; and SHOW CHARACTER SET FOR mydatabase.mytable; and SHOW CHARACTER SET FOR mydatabase.mytable.mycolumn; ...

What does UnmappableCharacterException mean?

CharsetDecoder reads: There are two general types of decoding errors. If the input byte sequence is not legal for this charset then the input is considered malformed. If the input byte sequence is legal but cannot be mapped to a valid Unicode character then an unmappable character has been encountered. I understand the concept of m...

German Umlaute in Mysql/Phpmyadmin

I have Flex application with UT8-encoding. It is sending back to the Server (PHP), and the data gets written in to Mysql (UT8 charset, utf8_general_ci). I have no problems at all writing/reading Umlaute from/to the database. I only realized, by looking at the data with PHPmyadmin that the Umlaute get somehow converted to: ö => ö ü => ...

How can I make Japanese characters appear correctly in a JTextField?

Hi I have copied http://ja.wikipedia.org/wiki/メインページ url and pasted that url into a JTextField but it shows some squares( [][]...[].) instead of those chars "メインページ". How can I solve this problem so that the url is shown correctly? Like this, see when I copy url (of any language) into this message box it is showing as it is, not as sq...

How can I get a hex dump of a string in PHP?

I'm investigating encodings in PHP5. Is there some way to get a raw hex dump of a string? i.e. a hex representation of each of the bytes (not characters) in a string? ...

HTML - force webbrowser to enter form text as UTF8?

I want to standardise on UTF8 on our web browser. All our databases and internet stufff is in UTF8. All our web servers SAre sending the charset=utf-8 HTTP header. However I've discovered that my changing the encoding on my Firefox (View -> Character Encoding) to something else I can enter Latin-9 character into a form and PHP just treat...

converting special characters in php

Hi, I've tried many functions already, but i simply can't figure it out. The right way anyway. in a form field called description, i can expect all kinds of characters. These need to be formatted into html entities before submitted to the db. Now, my code: $formdesc = htmlentities($_POST['formdesc'], ENT_QUOTES); and for mysql quer...

Howto set character encoding in actionscript 3 socket connections?

After asking "Do certain characters take more bytes than others?", I figured out that I'd need to set the character encoding set when receiving and sending data with a socket connection in Actionscript / Flex 3. Now I've been trying to find out how to do this, however there doesn't seem to be such property available. Is there any specia...

ANSI or OEM Codepage when using MME and DirectMusic?

Hello, I noticed that when reading MIDI port names from MME, the names are multi-byte strings encoded using the ANSI Codepage, which my app uses by default. When receiving those names from the DirectMusic driver, the names are wide-character strings encoded with the OEM Codepage. See this article by Raymond Chen for a quick refresher on...

BufferedReader returns ISO-8859-15 String - how to convert to UTF16 String?

I have an FTP client class which returns InputStream pointing the file. I would like to read the file row by row with BufferedReader. The issue is, that the client returns the file in binary mode, and the file has ISO-8859-15 encoding. ...

Can I replace % 20 with & nbsp in URLs that have spaces?

Within my HTML, can I use the character entity reference "&nbsp;" in place of "%20" in Web URLs? They're both spaces, right? ...

CSS character encoding @charset

What is the difference between charset name set lowercase or uppercase. Or it should be all CAPS? @charset "UTF-8"; or @charset "utf-8"; ...

Setting character encoding with request parameter

Is it possible to pass a request param containing the encoding to a filter which checks if there is a value and sets it as character encoding? I have read that calling the method to setting the character encoding should be done before reading the request params. Is there maybe another way to do this? Edit: Java / Java Server Pages ...

How do I replace Ê with '' in php?

str_replace('Ê','',$line); Ain't working. Is there some special string that represents that? ...

%u problem in PHP

Hello all, Characters such as "š" when sent in a POST parameter and echo'd come out as %u015F - now I know this a hexidecimal value of the html unicode character - ie &#351; but how do I go about converting these? I have characters sets set to UTF-8 and I've experimented with ISO character sets with no luck. Thanks! ...

VB Script Quote Character Issues, Need Help Badly!!

I have a very tricky problem going on with content inside a textarea on a classic ASP page. The trigger for the issue is that the end user copies and pastes content from Word into a textarea on the page. This page then sends the contents of the form via email to a 3rd party contact management system. This system display the following ch...