pydio 한글 문제 임시로 확인해 볼것!

Pydio/Ajaxplorer…

폴더별로 비번거는 기능만 있으면 설치형 웹하드로는 진짜 최곤데…

LG NAS도 Ajaxplorer 수정해서 쓰더만..

 

./core/classes/class.SystemTextEncoding.php 88라인아래 볼드부분 추가


// Get the current locale (expecting the filesystem is in the same locale, as the standard says)
if(self::$currentCharsetValue == null){
setlocale(LC_CTYPE,’ko_KR.UTF-8′);
self::$currentCharsetValue = self::parseCharset(setlocale(LC_CTYPE, 0));

 

추가

 

안녕하세요 SharedShell 입니다.

프로그램을 직접 설치하여 테스트 하는 과정에서 답변이 늦
어졌습니다. 이점 양해 말씀 드립니다.

해당 프로그램에서 시스템의 locale을 체크하여 UTF-8 지원
여부를 판단하는 것으로 보입니다.

현재 UTF-8 시스템의 경우 서버의 기본 locale은 ISO-8859-1
으로 설정이 되며 MySQL과 PHP에서 UTF-8를 설정하여 제공
되고 있습니다.

그러하여 해당 프로그램에서 UTF-8 한글을 지원하지 못한것
이며 프로그램의 소스중 다음 파일을 수정하시면 UTF-8을
이용하실 수 있습니다.

/server/classes/class.SystemTextEncoding.php

파일 내용중 $currentLocale = setlocale(LC_CTYPE, 0); 위
에 setlocale(LC_CTYPE, ‘C’); 라인을 추가 하여 주시며 됩
니다.

댓글 남기기

이메일은 공개되지 않습니다. 필수 입력창은 * 로 표시되어 있습니다

Comment moderation is enabled. Your comment may take some time to appear.