tags:

views:

31

answers:

1

Hi!

I'm implementing shipping into my application and I have problems with polish chars. On generated label they appear as '?'. Client is written in C# so all my strings are Unicode. Maybe you know in what encoding I should send data to get polish chars?

I send:

gęśla jaźń

And on the .gif label there is:

g??la ja??

It seems that UPS expected text in different encoding, but I can't find which.

The code:

 ShipToType upsShipTo = new ShipToType();
 upsShipTo.Name = shipToNameTextBox.Text;
+1  A: 

I've got answer from UPS: api uses latin1 charset so it doesn't support polish chars.

Adrian Serafin
Don't forget to accept your own answer
abatishchev