We report on processing the spectral interference signals by a new method based on a windowed Fourier transform applied in the wavelength domain. First, the numerical simulations are performed to demonstrate high precision of the phase retrieval from the spectral signal. Second, the feasibility of the method is confirmed in processing experimental data from a dispersive Michelson interferometer comprising a cube beamsplitter made of BK7 glass. From the retrieved spectral phase difference, the effective thickness of the beamsplitter is determined precisely.