We prove Szegö's strong limit theorem for Toeplitz determinants with a symbol having a nonstandard smoothness. We assume that the symbol belongs to the Wiener algebra and, moreover, the sequences of Fourier coefficients of the symbol with negative and nonnegative indices belong to weighted Orlicz classes generated by complementary \(N\)-functions both satisfying the \(\Delta_2^0\)-condition and by weight sequences satisfying some regularity, and compatibility conditions.