Glass mainly contains silica:
\[
SiO_2.
\]
Most common acids do not attack glass strongly.
However, hydrofluoric acid:
\[
HF
\]
reacts with silica present in glass.
The reaction may be represented as:
\[
SiO_2+4HF\rightarrow SiF_4+2H_2O.
\]
In another form, hydrofluoric acid can form fluosilicic acid:
\[
SiO_2+6HF\rightarrow H_2SiF_6+2H_2O.
\]
Because of this reaction, \(HF\) is used for etching glass.
Sulphurous acid and nitric acid do not attack glass in the same way.
Potassium dichromate is an oxidizing agent but is not the standard reagent that attacks glass.
Therefore, glass reacts with:
\[
HF.
\]