I was thinking about some of the random appearances of transgender characters I've seen today, here are a few that come to mind that I liked and thought were good, even if two were heart breakingly sad:
1) Cold Case - Mediocre show at best, but this episode stuck with me even before I was out to myself. I loved it, though I have no idea if it was genuinely a good episode or I just loved it because I'm who I am. Unfortunately, given the nature of the show (looking into unsolved murders from decades before), the transgender character was deceased. Quick synopsis (spoilers, but I doubt anyone wants to watch through Cold Case

): Bloody clothes soaked with fatal amount of blood loss had been discovered in a dumpster decades before, but no case had ever developed. Looking into the case again, story was uncovered involving a transgender woman in the 70s who had an encounter with two guys, one a creep, the other sweet. When they found out she was trans, the creep reacted how you would expect. The sweet one came back to her later and despite the time and everything, they developed a relationship and fell in love. The boy's father found out, and basically caught them together and shamed and drug his son away. He then stood up to his father and went to return to her, but in her assumed rejection committed suicide before he reached her. He tried to save her, but was too late. I can't really remember why, I think because he knew she would never be given a decent funeral, he discarded the bloody clothes and buried her, and pretty much went on to never recover himself, always having loved her. (Before they knew it was a suicide, he in middle age in the present was the prime suspect.) I haven't seen it in god knows how many years so maybe misremembering some of it.

2) The Closer - There's an episode that has a great portrayal of a lesbian trans woman by Beau Bridges. This one has to be seen.
3) There is also an episode of either the Closer or its spin off Major Crimes where they investigate the murder of a very young (maybe 12?) transgender girl, that has some very poignant moments. (I hate bringing up two that involve death, but I watch a ton of crime dramas so that is sort of my major point of reference.

)
All three were overwhelmingly positive views of the trans people themselves (though The Closer/Major Crimes is like 75% LGBT staff I think so that may be expected

), even if not always a happy ending.