Mercurial > hg > orthanc
comparison Core/Toolbox.cpp @ 3973:d86bddb50972
fix spelling errors according to debian
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 22 May 2020 18:40:35 +0200 |
parents | 6462ecaa045b |
children | 05a363186da6 |
comparison
equal
deleted
inserted
replaced
3972:7f8b30416d50 | 3973:d86bddb50972 |
---|---|
1996 | 1996 |
1997 Please note that this operation is potentially destructive, because | 1997 Please note that this operation is potentially destructive, because |
1998 it removes the character set information from the byte stream. | 1998 it removes the character set information from the byte stream. |
1999 | 1999 |
2000 However, in the case where the encoding is unique, then suppressing | 2000 However, in the case where the encoding is unique, then suppressing |
2001 the escape sequences allows to provide us with a clean string after | 2001 the escape sequences allows one to provide us with a clean string after |
2002 conversion to utf-8 with boost. | 2002 conversion to utf-8 with boost. |
2003 **/ | 2003 **/ |
2004 void Toolbox::RemoveIso2022EscapeSequences(std::string& dest, const std::string& src) | 2004 void Toolbox::RemoveIso2022EscapeSequences(std::string& dest, const std::string& src) |
2005 { | 2005 { |
2006 // we need AT MOST the same size as the source string in the output | 2006 // we need AT MOST the same size as the source string in the output |