A composition for nanoencapsulation, comprising (i) a mesogenic medium which comprises one or more compounds of formula I R-A-Y-A'-R' I wherein R and R' denote, independently of one another, a group selected from F, CF 3, OCF 3, CN, and straight-chain or branched alkyl or alkoxy having 1 to 15 carbon atoms or straight-chain or branched alkenyl having 2 to 15 carbon atoms which is unsubstituted, monosubstituted by CN or CF 3 or mono- or polysubstituted by halogen and wherein one or more CH 2 groups may be, in each case independently of one another, replaced by -O-, -S-, -CO-, -COO-, -OCO-, -OCOO- or -C≡C- in such a manner that oxygen atoms are not linked directly to one another, A and A' denote, independently of one another, a group selected from -Cyc-, -Phe-, -Cyc-Cyc-, -Cyc-Phe-, -Phe-Phe-, -Cyc-Cyc-Cyc-, -Cyc-Cyc-Phe-, -Cyc-Phe-Cyc-, -Cyc-Phe-Phe-, -Phe-Cyc-Phe-, -Phe-Phe-Phe- and the respective mirror images thereof, wherein Cyc is trans-1,4-cyclohexylene, in which one or two non-adjacent CH 2 groups may be replaced by O, and wherein Phe is 1,4-phenylene, in which one or two non-adjacent CH groups may be replaced by N and which may be substituted by one or two F, and Y denotes single bond, -COO-, -CH 2 CH 2 -, -CF 2 CF 2 -, -CH 2 O-, -CF 2 O-, -CH=CH-, -CF=CF- or -C≡C-, (ii) one or more polymerizable compounds, and (iii) one or more surfactants, characterized in that one or more compounds of formula I are selected from the compounds of formulae Ia, Ib and Ic wherein R 1, R 2, R 3, R 4 and R 5 denote, independently of one another, straight-chain or branched alkyl or alkoxy having 1 to 15 carbon atoms or straight-chain or branched alkenyl having 2 to 15 carbon atoms which is unsubstituted, monosubstituted by CN or CF 3 or mono- or polysubstituted by halogen and wherein one or more CH 2 groups may be, in each case independently of one another, replaced by -O-, -S-, -CO-, -COO-, -OCO-, -OCOO- or -C≡C- in such a manner that oxygen atoms are not linked directly to one another, X 1 denotes F, CF 3, OCF 3 or CN, L 1, L 2, L 3 and L 4 are, independently of one another, H or F, i is 1 or 2, and j and k are, independently of one another, 0 or 1. (i) a mesogenic medium which comprises one or more compounds of formula I R-A-Y-A'-R' I wherein R and R' denote, independently of one another, a group selected from F, CF 3, OCF 3, CN, and straight-chain or branched alkyl or alkoxy having 1 to 15 carbon atoms or straight-chain or branched alkenyl having 2 to 15 carbon atoms which is unsubstituted, monosubstituted by CN or CF 3 or mono- or polysubstituted by halogen and wherein one or more CH 2 groups may be, in each case independently of one another, replaced by -O-, -S-, -CO-, -COO-, -OCO-, -OCOO- or -C≡C- in such a manner that oxygen atoms are not linked directly to one another, A and A' denote, independently of one another, a group selected from -Cyc-, -Phe-, -Cyc-Cyc-, -Cyc-Phe-, -Phe-Phe-, -Cyc-Cyc-Cyc-, -Cyc-Cyc-Phe-, -Cyc-Phe-Cyc-, -Cyc-Phe-Phe-, -Phe-Cyc-Phe-, -Phe-Phe-Phe- and the respective mirror images thereof, wherein Cyc is trans-1,4-cyclohexylene, in which one or two non-adjacent CH 2 groups may be replaced by O, and wherein Phe is 1,4-phenylene, in which one or two non-adjacent CH groups may be replaced by N and which may be substituted by one or two F, and Y denotes single bond, -COO-, -CH 2 CH 2 -, -CF 2 CF 2 -, -CH 2 O-, -CF 2 O-, -CH=CH-, -CF=CF- or -C≡C-, R and R' denote, independently of one another, a group selected from F, CF 3, OCF 3, CN, and straight-chain or branched alkyl or alkoxy having 1 to 15 carbon atoms or straight-chain or branched alkenyl having 2 to 15 carbon atoms which is unsubstituted, monosubstituted by CN or CF 3 or mono- or polysubstituted by halogen and wherein one or more CH 2 groups may be, in each case independently of one another, replaced by -O-, -S-, -CO-, -COO-, -OCO-, -OCOO- or -C≡C- in such a manner that oxygen atoms are not linked directly to one another, A and A' denote, independently of one another, a group selected from -Cyc-, -Phe-, -Cyc-Cyc-, -Cyc-Phe-, -Phe-Phe-, -Cyc-Cyc-Cyc-, -Cyc-Cyc-Phe-, -Cyc-Phe-Cyc-, -Cyc-Phe-Phe-, -Phe-Cyc-Phe-, -Phe-Phe-Phe- and the respective mirror images thereof, wherein Cyc is trans-1,4-cyclohexylene, in which one or two non-adjacent CH 2 groups may be replaced by O, and wherein Phe is 1,4-phenylene, in which one or two non-adjacent CH groups may be replaced by N and which may be substituted by one or two F, and Y denotes single bond, -COO-, -CH 2 CH 2 -, -CF 2 CF 2 -, -CH 2 O-, -CF 2 O-, -CH=CH-, -CF=CF- or -C≡C-, (ii) one or more polymerizable compounds, and (iii) one or more surfactants, R 1, R 2, R 3, R 4 and R 5 denote, independently of one another, straight-chain or branched alkyl or alkoxy having 1 to 15 carbon atoms or straight-chain or branched alkenyl having 2 to 15 carbon atoms which is unsubstituted, monosubstituted by CN or CF 3 or mono- or polysubstituted by halogen and wherein one or more CH 2 groups may be, in each case independently of one another, replaced by -O-, -S-, -CO-, -COO-, -OCO-, -OCOO- or -C≡C- in such a manner that oxygen atoms are not linked directly to one another, X 1 denotes F, CF 3, OCF 3 or CN, L 1, L 2, L 3 and L 4 are, independently of one another, H or F, i is 1 or 2, and j and k are, independently of one another, 0 or 1.