Re: Writing Euro symbol with utf encoding
Andy Hassall wrote:[color=blue]
> On Thu, 16 Oct 2003 18:56:59 +0100, "VK"
> <vgopalNOSPAMkn ow@hotmail.com> wrote:
>[color=green]
>> I am writing a string from the database into a text file which
>> contains "Euro" symbol . I have tried using iconv() and utf_encode
>> and mb_convert_enco ding() functions to convert the string to Unicode
>> but the text file created has just a square box in place of the Euro
>> symbol. Can anybody help me in this matter ?[/color]
>
> What character set is the original file in?[/color]
The text file is created on the fly as a ".txt" file. If i can create a
UTF-8 file i think i can get away with not encoding the string. But i cant
seem to be able to write the Byte Order Mark in the txt file.
Thanks for your reply.
Writing Euro symbol with utf encoding
Collapse
This topic is closed.
X
X
-
Guest replied -
Guest repliedRe: Writing Euro symbol with utf encoding
On Thu, 16 Oct 2003 18:56:59 +0100, "VK" <vgopalNOSPAMkn ow@hotmail.com> wrote:
[color=blue]
>I am writing a string from the database into a text file which contains
>"Euro" symbol . I have tried using iconv() and utf_encode and
>mb_convert_enc oding() functions to convert the string to Unicode but the
>text file created has just a square box in place of the Euro symbol. Can
>anybody help me in this matter ?[/color]
What character set is the original file in?
--
Andy Hassall (andy@andyh.co. uk) icq(5747695) (http://www.andyh.co.uk)
Space: disk usage analysis tool (http://www.andyhsoftware.co.uk/space)
Leave a comment:
-
Writing Euro symbol with utf encoding
Hello All
I am writing a string from the database into a text file which contains
"Euro" symbol . I have tried using iconv() and utf_encode and
mb_convert_enco ding() functions to convert the string to Unicode but the
text file created has just a square box in place of the Euro symbol. Can
anybody help me in this matter ?
Thanks in advance
VK
Tags: None
Leave a comment: