An efficient dye-sensitized solar cell with an organic sensitizer encapsulated in a cyclodextrin cavity.