cancel
Showing results for 
Search instead for 
Did you mean: 

Reading data in hebrew

david_fryda2
Participant
0 Kudos

Hi everyone,

I created a SAP proxy and successfully connected to SAP.

I can retrieve all the data.

The problem is that the data written in hebrew is not displayed good : I see question marks.

How can I solve this problem in order to see correct hebrew letters ?

Thanks to everyone.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi David,

How do you present your data are you using some kind of encoding?

Could you post some code so I could better understand the problem.

Regards,

Tsachi

david_fryda2
Participant
0 Kudos

Hi Tsachi,

Here is the code without the connection string.


SAPProxyDll7.ILG_HR_PERS_DATA_FOR_ARCH table = new SAPProxyDll7.ILG_HR_PERS_DATA_FOR_ARCH();
proxy.Zhr_Collect_Pers_Data(ref table);

IEnumerator enumPerson = table.GetEnumerator();
while(enumPerson.MoveNext()) 
{
SAPProxyDll7.ILG_HR_PERS_BASIS_DATA data = (SAPProxyDll7.ILG_HR_PERS_BASIS_DATA)enumPerson.Current;
Console.WriteLine(data.Nachn);
}

I am not doing any encoding.

Thanks.

Former Member
0 Kudos

Depending on whether you system is Unicode enabled (it should be) and whether Hebrew is a multi byte code(I believe it is) have you made sure you checked Unicode on your connector?

Does your PC support the Hebrew Code Page ?

Enjoy

david_fryda2
Participant
0 Kudos

Hi,

Yes, my PC supports Hebrew.

Maybe I should encode the text in the ABAP code (before calling the .Net programme) ?

Should I use "translate" ?

Thanks,

Regards.