Click here to Skip to main content
15,917,005 members
Home / Discussions / C#
   

C#

 
GeneralRe: Rename folder Pin
Dave Kreskowiak19-May-09 11:05
mveDave Kreskowiak19-May-09 11:05 
GeneralRe: Rename folder Pin
netJP12L19-May-09 11:22
netJP12L19-May-09 11:22 
GeneralRe: Rename folder Pin
Luc Pattyn19-May-09 13:55
sitebuilderLuc Pattyn19-May-09 13:55 
QuestionUmm...wow...request from one of our IBM guys - He needs to send an EBCDIC blob(not converted to ASCII) to be consumed directly by a C# app Pin
Alaric_19-May-09 9:25
professionalAlaric_19-May-09 9:25 
GeneralRe: Umm...wow...request from one of our IBM guys [modified] Pin
led mike19-May-09 10:02
led mike19-May-09 10:02 
GeneralRe: Umm...wow...request from one of our IBM guys Pin
Alaric_19-May-09 10:20
professionalAlaric_19-May-09 10:20 
GeneralRe: Umm...wow...request from one of our IBM guys Pin
led mike19-May-09 11:54
led mike19-May-09 11:54 
AnswerRe: Umm...wow...request from one of our IBM guys - He needs to send an EBCDIC blob(not converted to ASCII) to be consumed directly by a C# app Pin
Luc Pattyn19-May-09 14:07
sitebuilderLuc Pattyn19-May-09 14:07 
Hi,

1.
I am not following you. A binary file is a binary file, there is no ASCII and no EBCDIC involved. If the blob is truly binary, just get it in the normal way and use it.

2.
If your binary data is converted to a string (maybe using base64 encoding), then such string would be represented using some encoding, such as ASCII or EBCDIC; decoding a Unicode base64 is supported by .NET; decoding an EBCDIC base64 string would need explicit code, but could be made to run at the same speed as the normal Unicode (or ASCII) base64 decoding.

3.
Some data formats (JPEG is one of them) include a couple of characters; a JPEG file often starts with the letters JFIF. I do not know they always are in ASCII, I do know they are 8-bit. Check on an IBM system, if they start with ASCII "JFIF" then point 1 applies. If they start with EBCDIC "JFIF" them you need a smart converter, i.e. some code that knows which bytes are actually characters and knows how to translate them.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

AnswerRe: Umm...wow...request from one of our IBM guys - He needs to send an EBCDIC blob(not converted to ASCII) to be consumed directly by a C# app Pin
PIEBALDconsult19-May-09 15:20
mvePIEBALDconsult19-May-09 15:20 
AnswerRe: Umm...wow...request from one of our IBM guys - He needs to send an EBCDIC blob(not converted to ASCII) to be consumed directly by a C# app Pin
Moreno Airoldi20-May-09 1:05
Moreno Airoldi20-May-09 1:05 
QuestionWeb file download from C# console application gets 401 Pin
Mike Devenney19-May-09 9:22
Mike Devenney19-May-09 9:22 
AnswerRe: Web file download from C# console application gets 401 Pin
led mike19-May-09 10:13
led mike19-May-09 10:13 
AnswerRe: Web file download from C# console application gets 401 Pin
Noctris19-May-09 10:25
Noctris19-May-09 10:25 
GeneralRe: Web file download from C# console application gets 401 Pin
Baeltazor19-May-09 17:23
Baeltazor19-May-09 17:23 
GeneralRe: Web file download from C# console application gets 401 Pin
Mike Devenney20-May-09 5:04
Mike Devenney20-May-09 5:04 
QuestionRe: Web file download from C# console application gets 401 Pin
Mike Devenney20-May-09 7:21
Mike Devenney20-May-09 7:21 
Questionreferencing a control from a string Pin
Tom Wright19-May-09 9:17
Tom Wright19-May-09 9:17 
AnswerRe: referencing a control from a string [modified] Pin
Jimmanuel19-May-09 9:46
Jimmanuel19-May-09 9:46 
GeneralRe: referencing a control from a string Pin
Tom Wright19-May-09 10:25
Tom Wright19-May-09 10:25 
GeneralRe: referencing a control from a string Pin
Tom Wright19-May-09 10:27
Tom Wright19-May-09 10:27 
GeneralRe: referencing a control from a string Pin
Jimmanuel19-May-09 10:38
Jimmanuel19-May-09 10:38 
GeneralRe: referencing a control from a string Pin
Tom Wright19-May-09 10:40
Tom Wright19-May-09 10:40 
GeneralRe: referencing a control from a string Pin
Jimmanuel19-May-09 11:00
Jimmanuel19-May-09 11:00 
GeneralRe: referencing a control from a string Pin
Jimmanuel19-May-09 11:17
Jimmanuel19-May-09 11:17 
AnswerRe: referencing a control from a string [modified] Pin
xcorporation19-May-09 11:05
xcorporation19-May-09 11:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.