mb_convert_encoding ( php5 )

liquidbeats

Erfahrenes Mitglied
Hallo,


kurze Frag, wie kann ich mb_convert_encoding unter php5 Aktivieren?
Hab im Netz einiges gefunden, jedoch immer nur mit Kompilieren usw. :rolleyes:


Danke, Grüße
 
Bei XAMPP sind die MultiByte Funktionen an, ansonsten sollte es auch in den vollen Windows Binary Pack von php.net dabei sein.

Für Linux musst du es bei --configure mit angeben bzw. hoffen dass es vom Hoster mitgepackt wurde, sprich mal phpinfo() studieren und schauen ob es aktiviert ist. (Der Punkt heißt: mbstring)

Ansonsten mal höflich beim Hoster anfragen ;-)
 
Hi,

Danke für die Antwort. In der php.ini ist mbstrin gsoweit Aktiviert gewesen. Ich wusste nur nuchgt das dies bei PHP 5 Seperat installiert werden muss :rolleyes:
Ich hab das Paket über yast suche finden und Installieren können. Läuft nun alles wie gewollt :)


Grüße
 
Sorry es ist sehr alt aber ich wollte keine neu Themer öfnen. ich habe auch Probleme mit umlaute.

möchte fragen was ich bei php.ini genau ändern soll.

Hier ist die stelle

Code:
[mbstring]
; language for internal character representation.
;mbstring.language = Japanese

; internal/script encoding.
; Some encoding cannot work as internal encoding.
; (e.g. SJIS, BIG5, ISO-2022-*)
;mbstring.internal_encoding = EUC-JP

; http input encoding.
;mbstring.http_input = auto

; http output encoding. mb_output_handler must be
; registered as output buffer to function
;mbstring.http_output = SJIS

; enable automatic encoding translation according to
; mbstring.internal_encoding setting. Input chars are
; converted to internal encoding by setting this to On.
; Note: Do _not_ use automatic encoding translation for
;       portable libs/applications.
;mbstring.encoding_translation = Off

; automatic encoding detection order.
; auto means
;mbstring.detect_order = auto

; substitute_character used when character cannot be converted
; one from another
;mbstring.substitute_character = none;

; overload(replace) single byte functions by mbstring functions.
; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
; etc. Possible values are 0,1,2,4 or combination of them.
; For example, 7 for overload everything.
; 0: No overload
; 1: Overload mail() function
; 2: Overload str*() functions
; 4: Overload ereg*() functions
;mbstring.func_overload = 0

mfg
 
Zurück