I'm using Sabre web services (SabreCommandLLSRQ) to build a c# proof of concept for low fare re-booking.
I'm now hitting some special sabre characters that I don't know what they are in c#. I have a few that are working but I'm sure to encounter more - does anybody have a sabre character mapping for c#?
private string BuildPriceLine()
{
const char CHLOR = (char)0xE7; // Cross-of-Lorraine
const char ENDITEM = (char)0xA7; // End Item key
const char CHGKEY = (char)0xA5; // Change Key
var sabreCommand = new StringBuilder();
// WPRQ‡AAA‡UN*C123456‡KP0‡XP«
sabreCommand.Append("WPRQ");
sabreCommand.Append(CHLOR);
sabreCommand.Append("AAA");
sabreCommand.Append(CHLOR);
sabreCommand.Append("UN*C123456");
sabreCommand.Append(CHLOR);
sabreCommand.Append("KP0");
sabreCommand.Append(CHLOR);
sabreCommand.Append("XP");
sabreCommand.Append(WhatSabreCharIsThis); // "«" ?
return sabreCommand.ToString();
}
Pj is correct. When you hit 'Enter' in the terminal window to send that command as an agent would that character appears. Don't include it with your request.