Standing next to his wife, Jane, Mr. Clementi said that while Ms. Wei had made a bad decision “without regards to another person’s privacy and dignity,” she deserved another chance. “We hope that Ms. Wei will become a person who makes better decisions,” he said, “a person who helps people and a person who shows kindness to those she comes into contact with.”

Tyler Clementi jumped off the George Washington Bridge on Sept. 22, three days after Mr. Ravi and Ms. Wei were said to have spied on him. Prosecutors said Mr. Ravi used Ms. Wei’s computer to activate a webcam in the room he shared with Mr. Clementi, and then alerted others to watch. Mr. Ravi is also accused of trying to spy on Mr. Clementi again two days later.

Mr. Ravi was indicted last month; the charges included a claim that he acted out of bias because Mr. Clementi was gay and that he tried to thwart an investigation. If convicted on a hate-crime charge, he could face 5 to 10 years in prison.

Mr. Ravi’s lawyer, Steven D. Altman, said he welcomed the news that Ms. Wei would be required to testify in the case. “I think that’s a very positive development, because anything that she is going to have to say is going to prove and show that whatever occurred was not done with any bias,” Mr. Altman said. “It will further confirm that he is not guilty of anything.”