dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bugs #7449] differentiating codepage behavior


From: Rhys Weatherley
Subject: [Pnet-developers] [bugs #7449] differentiating codepage behavior
Date: Mon, 16 Feb 2004 20:16:05 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #7449] Latest Modifications:

Changes by: 
                Rhys Weatherley <address@hidden>
'Date: 
                Tue 02/17/04 at 01:16 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Works for me
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
This usually happens when the LANG environment variable
is not set to anything.  In that case, pnet uses the
default character encoding in libc, for which it doesn't
know the name.  If you set "LANG=en_US", then WebName will
be set to something sane.






/**************************************************************************/
[bugs #7449] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=7449>
Project: DotGNU Portable.NET
Submitted by: Adam Ballai
On: Mon 01/26/04 at 11:07

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  Works for me
Assigned to:  None
Status:  Closed


Summary:  differentiating codepage behavior

Original Submission:  On windows with .net
using System;
public class test
{
  public static void Main(string[] args)
  {
    Console.WriteLine(Console.Out.Encoding.WebName);
  }
}

returns:

IBM437

but this same code on pnet returns nothing.

Follow-up Comments
------------------


-------------------------------------------------------
Date: Tue 02/17/04 at 01:16         By: rweather
This usually happens when the LANG environment variable
is not set to anything.  In that case, pnet uses the
default character encoding in libc, for which it doesn't
know the name.  If you set "LANG=en_US", then WebName will
be set to something sane.












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=7449>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]