This article describes the universal birefringent filter (UBF) which will be mounted at Taiwan. The UBF permits observations of solar images, vector magnetic fields and/or line-of-sight velocity fields in any Fraunhofer line in the wavelength region from 4000 Angstrom to 7000 Angstrom with half width from 0.05 Angstrom to 0.14 Angstrom. We have tested it at ten Fraunhofer lines under a spectral telescope in Huairou Station of Beijing Astronomical Observatory and obtained the passband profiles. The principles of magnetic field and velocity field measurement with the UBF are also described.