The following two lines should render the same:

گ‌م گ‍م
ﮒﻡ ﮔﻢ