Confining a binary mixture, one can profoundly alter its miscibility behavior. The qualitative features of miscibility in confined geometry are ratheruniversal and shared by polymer mixtures as well as small molecules, but the unmixing transition in the bulk and the wetting transition are typically well separated in polymer blends. The interplay between wetting and miscibility of a symmetric polymer mixture via large-scale Monte Carlo simulations in the framework of the bond fluctuation model and via numerical self–consistent field calculations is studied. The film surfaces interact with the monomers via short ranged potentials, and the wetting transition of the semi–infinite system is of first order. It can be accurately located in the simulations by measuring the surface and interface tensions and using Young’s equation. If both surfaces in a film attract the same component, capillary condensation occurs and the critical point is close to the critical point of the bulk. If surfaces attract different components, an interface localization/delocalization occurs which gives rise to phase diagrams with two critical points in the vicinity of the pre-wetting critical point of the semi–infinite system. The crossover between these two types of phase diagrams as a function of the surface field asymmetry is studied. The dependence of the phase diagram on the film thickness Δ for antisymmetric surface fields is investigated. Upon decreasing the film thickness, the two critical points approach the symmetry axis of the phase diagram, and below a certain thickness Δtri, there remains only a single critical point at the symmetric composition. This corresponds to a second-order interface localization/delocalization transition even though the wetting transition is of first order. At a specific film thickness, Δtri, tricritical behavior is found. The behavior of antisymmetric films is compared with the phase behavior in an antisymmetric double wedge. While the former is the analog of the wetting transition of a planar surface, the latter is related to the filling behavior of a single wedge. Evidence for a second-order interface localization/delocalization transition in an antisymmetric double wedge is presented, and its unconventional critical behavior is related to the predictions of Parry et al. (Phys. Rev. Lett. 83:5535 (1999)) for wedge filling. The critical behavior differs from the Ising universality class and is characterized by strong anisotropic fluctuations.