on my page i have a time range printed in the format of
12:00 AM - 12:00 PM
i have to display this appropriately for whatever culture the browser supplies. i'm having an issue with arabic (ar-ae): the am/pm indicator seems to change the text ordering for part of the string. the string has the right characters in the right places in memory, but shows them in a different order.
so for my start and end times, i have strings like
03:00 ص
and
11:00 م
and then i put them together like
string dummytext = t1string + " - " + t2string;
when the page is written, the range is displayed as
03:00 ص - 11:00 م
i've tried putting each piece in a Label control and wrapping everything in a div with dir="ltr"
and haven't made any progress. this is happening in a table cell if it makes any difference.