코드팟님.. 서버 ON OFF 한글깨짐
초시계
질문자 인사 아.. 진짜감사합니당!
수다님의 urlencodeansi 함수를 사용해보세요.
urlencodeansi
public function urlencodeansi(str as string) as stringon error goto errlbl
dim ansiarr() as byte, i as long, buf as string ansiarr = strconv(str, vbfromunicode)
for i = 0 to ubound(ansiarr) buf = buf & % & hex$(ansiarr(i)) next i urlencodeansi = buf
errlbl:end
그리고winhttp.send content= & what 부분을 winhttp.send content= & urlencodeansi(what)
깨지신다면,updatenotice, notice 함수부분을 살짝 바꿔주시면 되겠네요.
예function updatenotice()on error resume next dim winhttp as object set winhttp = createobject(winhttp.winhttprequest.5.1) winhttp.open post, http://닷홈주소.dothome.co.kr/updatenotice.txt winhttp.send winhttp.waitforresponse updatenotice = strconv(winhttp.responsebody, vbunicode)end functionfunction notice()on error resume next dim winhttp as object set winhttp = createobject(winhttp.winhttprequest.5.1) winhttp.open post, http://닷홈주소.dothome.co.kr/notice.txt winhttp.send winhttp.waitforresponse notice = strconv(winhttp.responsebody, vbunicode)end function
-
팬지
UTF-8 확인요.
-
다미
인코딩 확인 점요..ㅔ
번호 | 제 목 | 글쓴이 | 날짜 |
---|---|---|---|
2658166 | ListView 질문이요 ~ (1) | 겨울 | 2024-06-13 |
2658137 | Form load하면 wav파일 한번만 실행하기 (7) | 솔로 | 2024-06-13 |
2658078 | 관리자권한으로실행시키기 | 여우비 | 2024-06-12 |
2658051 | 비베 6.0으로 dll 메박 뜨게 하는 방법좀 ㅠ? (1) | 천사의눈물 | 2024-06-12 |
2658022 | 링커만 쓰면 프로그램이 이상해지네요 | 겨레 | 2024-06-12 |
2657992 | 저기 비베6.0 사용하시는분들 글좀읽어주십시오.. (3) | 일진누나 | 2024-06-12 |
2657963 | 레지등록 관련 부분 | 촉촉한 초코칩 | 2024-06-11 |
2657936 | 기존 버튼 변경 문의 드립니다. | 개럭시 | 2024-06-11 |
2657912 | 리스트뷰(ListView) 타이틀 이동시 프로그램 강종... | 해찬나래 | 2024-06-11 |
2657886 | 노래,시간 넣는방법 (1) | 마디 | 2024-06-11 |
2657831 | 비주얼베이직 질문합니다 고수님들 봐주셨으면 합니다 | 착히 | 2024-06-10 |
2657807 | 리스트박스 질문이요. (1) | 풋내 | 2024-06-10 |
2657755 | 비베 프로그램질문 | 상처주지마 | 2024-06-09 |
2657729 | for 문 while 에 대한 예제가 많은 사이트가 있을까요 ㅡㅜ? (1) | 마리 | 2024-06-09 |
2657701 | 로그인 네이버연동 시키는방법 , 파일다운로드 방법 질문 (2) | 각티슈 | 2024-06-09 |
2657643 | 질문좀 ㅜ | 찬놀 | 2024-06-08 |
2657621 | 이부분에서 왜 오류가나죠 (1) | 여울가녘 | 2024-06-08 |
2657595 | 미디어플레이어 | 매미꽃 | 2024-06-08 |
2657567 | 폼 로드시 웹브 로그인이요! | 촉촉한 초코칩 | 2024-06-08 |
2657539 | mp3파일에서 정보불러올때 | 새콤이 | 2024-06-07 |