bugDotGNU Portable.NET - Bugs: bug #7449, differentiating codepage behavior

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #7449: differentiating codepage behavior

Submitter:  Adam Ballai <minddog>
Submitted:  Mon 26 Jan 2004 11:07:05 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Works For Me
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Tue 17 Feb 2004 01:16:05 AM UTC, comment #1: 

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.

Rhys Weatherley <rweather>
Group administrator
Mon 26 Jan 2004 11:07:05 AM UTC, 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.

Adam Ballai <minddog>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-02-17 rweather StatusNone Works For Me
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.12