The qDecoder Project

Modify Delete Post Reply Forward List
Written by Seung-young Kim ([email protected]) Hits: 41 , Lines: 50
RE: [qDecoder] qSedArgAdd 에 대한 문제
아마도 다음고 같이 사용을 하신듯 싶습니다.

str = qURLencode("안녕하세요");
qSedArgAdd(arg, "$NAME", str);

문자열에 n이나 %등이 삽입되어 있을경우엔,
반드시 다음과 같이 하시기 바랍니다.

qSedArgAdd(arg, "$NAME",  "%s", str);


Seung-young Kim
OpenBIRD, Inc. http://www.openbird.com

> —–Original Message—–
> From: [email protected] [mailto:owner-
> [email protected]]On Behalf Of 김정현
> Sent: Wednesday, September 19, 2001 12:31 PM
> To: [email protected]
> Subject: [qDecoder] qSedArgAdd 에 대한 문제
>
>
>
> qSedArgAdd 가 나온 후 프로그램하기가 훨씬 수월해진 것 같습니다.
> 하지만 한가지 큰 문제점을 가지고 있는듯 합니다.
>
> qSedArgAdd 가 format … 인수를 지원하다 보니 발생하는 문제입니다.
> qURLencode로 엔코딩 된 값을 qSedArgAdd 에 넣다보니 원하지 않은 결과가
>  나옵니다.
> qURLencode를 통해 나온 스티링에는 % 문자가 포함되어 있기 때문입니다.
> 쉽게 태스트 해 본다면 printf 함수로 엔코딩한 값을 프린트 해보면 동일한
>  현상이 생기는 것을 알 수 있습니다.
>
> 제 생각에는 format … 인수를 지원하지 않는 qSedArgAdd 함수를 하나더 만
> 들면 어떨까 싶습니다. puts 같은 형식의 함수처럼요..
> 감사합니다.
>
>
> http://www.qdecoder.org/apps/CrazyWWWBoard.cgi?db=questions
> —
> The qDecoder Project           <http://www.qDecoder.org>
> To unsubscribe: send mail to [email protected] with
> "unsubscribe qDecoder" in the body of the message.
>


The qDecoder Project           <http://www.qDecoder.org>
To unsubscribe: send mail to [email protected] with
"unsubscribe qDecoder" in the body of the message.
Prev : 인제서야 세션을 사용해보았네요.. ^^;
Next : Re: RE: [qDecoder] qSedArgAdd 에 대한 문제
September 19, 2001 (13:09) from (anonymous host)
CrazyWWWBoard 98 Professional Edition II
Modify Delete Post Reply Forward List

[Home] [About] [Examples] [Changes] [Download] [Install] [Reference] [Bugs] [Q&A;]
Netchestra bizWorker