Second-order nonlinearities localized in the regions adjacent to the ferroelectric domain wall in KTiOPO(4) are used to realize a single-shot noncollinear frequency-resolved optical gating arrangement for ultrashort pulse characterization with high spatial resolution. Cerenkov phase matching is utilized to achieve spectral dispersion and makes the same nonlinear crystal applicable over wide spectral ranges from the visible to the mid-infrared.