Click here to Skip to main content
15,912,897 members
Home / Discussions / C#
   

C#

 
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 
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 
As Luc said, if the data in your BLOB is, for example, a jpg file then it's binary data, and you don't need to convert it in any way.

On the other hand, if the BLOB contains a text file, and the text file is in EBCDIC, then you must convert it in order to be able to use it.

So, if I understand correctly your issue, you would need conversion only for a specific kind of content (pure text), and you must bypass conversion for all other "binary" data.

Note that passing binary data (like the content of a jpg file) to some EBCDIC to ASCII conversion routine will alter it and it won't be usable anymore!

The only other option I can think of is you are using some kind of encoding from binary data to EBCDIC, something similar to uuencoding[^], so you encode your binary data to EBCDIC and then store it in the BLOB. This wouldn't make much sense, but if that's how it works then you simply must decode it, and there's no way to avoid it. Smile | :)

2+2=5 for very large amounts of 2
(always loved that one hehe!)

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 
GeneralRe: referencing a control from a string Pin
Tom Wright20-May-09 8:45
Tom Wright20-May-09 8:45 
QuestionRegex question Pin
Harvey Saayman19-May-09 8:46
Harvey Saayman19-May-09 8:46 

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.