Text this: Ultrashort optical pulse characterization