﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
85	Character translation problem	Herwig Bauernfeind	Paul Smedley	"Run the following REXX script on a Samba share:
{{{
/* REXX */
'@echo off'
do I = 128 to 255
    say I'_'d2x(I)'_'copies(d2c(I),4)
    'echo TEST >'I'_'d2x(I)'_'copies(d2c(I),4)
    if stream(I'_'d2x(I)'_'copies(d2c(I),4),'c','query exists') = """" then do
        say ""Filename with ""I"" (""d2x(I)"") in name could not be created properly!""
        'PAUSE'
    end
end
}}}

This script tries to create files with ASCII chars between 128 and 255 and check afterwards if the file could be created properly. It chokes on 244 (0xF4) and 245 (0xF5) and pretends to create the others normally. 

Looking at the directory afterwards however, you will see that the high ASCII charecters in some filennames seem to have been changed into ASCII 127. 198-199, 207-216, 221-222, 224, 226-240, 242-243, 247, 249, 251-252.

The test was perform with current Samba server (3.0.34) and current ndpsmb.dll (1.5).

The same script runs normally run on a WSEB share via LAN Requester.

This was discovered when testing for Ticket #68"	defect	closed	critical	Samba Server for eCS (OS/2) 1.0.1	Samba Server	3.0.34	fixed		herwig.bauernfeind@…
