[ale] Weird characters in Interface file

Jeff Lightner jlightner at water.com
Thu May 10 10:28:43 EDT 2007


Possibly setting LC_ALL or one of the other environment variables to whatever character set includes what you're trying to do may help you display it properly.

bash man page has more details of the LC, Locale, language variables.

-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Bj?rn Gustafsson
To: ale at ale.org
Sent: Thursday, May 10, 2007 10:19 AM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] Weird characters in Interface file

On 5/10/07, K B <kboateng_cs at yahoo.com> wrote:
>
> Hi All,
> I have a program that writes data to a file. I put a debug statement to
> print the data right before it writes to this file. The program writes ? and
> ? to the file. But when i open the file, the characters shows ?3 for the ?
> character and ?i for ? characters. Any ideas how this is happening?

It's a character-set compatibility issue.  You are writing the file
with some kind of Unicode character set, but then opening it with an
application that interprets it as ISO8859-1 or similar.

Depending on where you think the problem is, you need to either change
the way the data is written or use a different tool to view the
output.
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale



More information about the Ale mailing list